

We'll demonstrate importing stock data, building a portfolio, and then calculating the Sharpe Ratio.

title : "The Sharpe Ratio" description : | In this post we present a classic finance use case using the PerformanceAnalytics, quantmod, and dygraphs packages.
#Outset github update#
You can use the rename_post_dir() function to update the date and/or title slug reflected in the directory name. If you work on a post over the course of a few days and/or if you change your post’s title after you begin working on it, you may want to rename the post directory. Note that the date prefix is not strictly required, but is done by default as a convenience so that posts appear in chronological order within the filesystem. Posts are stored within the _posts sub-directory of your site, and have a directory name that reflects the date that you created the post along with the post’s title slug. This is because posts are often expensive to render and have R package dependencies that may be difficult to satisfy as time goes on. This is in fact the only way to update post content - posts are considered standalone documents that are not re-rendered when the site is built. You work on blog posts independent of the enclosing website (use Knit to render and preview the post just like any R Markdown document). Why? Given that R package upgrades have a tendency to break older code, continuously re-rendering old posts is nearly impossible to do without errors, especially over longer periods of time.Ĭreate_post ( "The Sharpe Ratio", draft = TRUE ) Each blog article has to be rendered on its own, with intent. Workflow difference: Furthermore, website pages and root pages of blogs are re-rendered when the site is rebuilt but blog articles are not. When you knit and publish a new post, this page automatically updates by adding the most recent post to the top of the list. Whereas websites require you to manually set up links to pages, a listing page collects links to posts for you, displaying key metadata (like date published, author, categories, title, etc.) and a thumbnail image. Layout difference: Within a blog, Distill enables a special page on your website called a listing page. Distill blogs are a distill website with added blog posts. Structure difference: Websites are just collections of pages you can navigate to via the top navigation bar, whereas blogs have collections of posts that can be indexed and syndicated (via their RSS feed). To create a blog you author a collection of posts (located in the _posts sub-directory of your website) and then dedicate a page (usually the website homepage) to a listing of all of your posts. We invite you to Stay Connected with us not only for updates to our Archaeology List, GitHub, and Blog, but also for a chance to first engage with any developments from our authors concerning their projects.Ĭreated by Berghahn Books, an independent publisher of distinguished scholarly books and journals in the humanities and social sciences.įollow us on Twitter, Facebook, and Instagram for live updates.Distill for R Markdown websites include integrated support for blogging. Our core outset, the Digital Projects portal, provides a space for intersections in digital and print to grow, update, and, in some cases, productively fail before, during, or - uncommonly so - even after the publication process.

Informed by evolving practices within archaeology, this platform of digital interventions curates what our authors can showcase when given the option to textually de-limit any supplemental material that supports or amplifies their work.īerghahn Digital Archaeology was conceived through the inauguration of our series, Digital Archaeology: Documenting the Anthropocene, which you can read more about here. As the field of digital archaeology continues to expand, we are turning to question what the inclusion of computational methodologies, virtual landscapes, or digitally designed or enhanced collections can offer traditional publications.
