In order to contribute please follow these 4 simple steps:
1) Store the initial file
data-raw
.2) Store it as data in the package
data-raw/DATASETS.R
.usethis::use_data()
function.3) Create a bib entry
data-raw/...bib/papers.bib
papers.bib
data-raw/...bib/create_bib.R
4) Document the dataset
R/datasets.R
#' @template rox_papers
#' @templateVar key "PAPER_KEY"
The name of the dataset (and the bibtexkey) should be the initials of the authors
followed by the date of the publication. For examples Stock and Watson 2001
should be sw2001
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.