Thanks for contributing to nsm3data
!
Before contributing, please make sure you have both the devtools
and NSM3
packages installed. You need devtools
to rebuild the packages. Please avoid duplicating datasets that are already in NSM3
, as we don't want to mask those datasets.
If you would like to add a dataset, please use the following steps.
.rda
file to the ./data
directory. Do not add a .rdata
or .rds
file, as these won't render correctly!./R/sampledataset.R
file and replace the information in the document with the proper information for the data that you're adding, includingdocument()
roxygen2::roxygenize()
build()
install()
Resolve all compilation and interpretation issues before continuing! Remember, you must have a dataset and a corresponding description file. If you have one without the other, you may not be able to successfully compile.
If you would like to update the table of contents, please use the following steps.
./R/toc.R
file to view the documentation.#' @code{tablereference} \tab {Table X.Y - Table Description} \cr
Do not edit anything else in the file.
3. Regenerate the documentation by using document()
to ensure that it renders correctly. Do not push a change that broke the rendering.
4. Save and close the file, then use Git to add your changes in a pull request. Please pull latest changes from the remote repository before pushing your changes up!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.