“org” is a system to help you organize projects. Most analyses have three (or more) main sections: code, results, and data, each with different requirements (version control/sharing/encryption). You provide folder locations and ‘org’ helps you take care of the details.
The R-package “org” (version 2022.7.20) has been published on CRAN.
“org” is a part of the splverse, a set
of R packages developed to help solve problems that frequently occur
when performing infectious disease surveillance. A significant breaking
change is that org::initialize_project
now takes in
env
as an argument (the environment into which the
functions will be sourced). It is now recommended to include
env = .GlobalEnv
into the function call.
org::initialize_project(
env = .GlobalEnv,
home = "/git/analyses/2019/analysis3/",
results = "/dropbox/analyses_results/2019/analysis3/"
raw = "/data/analyses/2019/analysis3/"
)
The concept behind org
is fairly simple - most analyses
have three main sections:
Yet each of these sections have extremely different requirements.
Code should:
Results should:
Data should:
If you see mistakes or want to suggest changes, please create an issue on the source repository.
Text and figures are licensed under Creative Commons Attribution CC BY 4.0. Source code is available at https://github.com/sykdomspulsen-org/sykdomspulsen-org.github.io, unless otherwise noted. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".
For attribution, please cite this work as
White (2022, July 21). Sykdomspulsen: R-Package "org" (version 2022.7.20) Published on CRAN. Retrieved from https://docs.sykdomspulsen.no/posts/2022-07-21-org-version-2022-7-20-published-on-cran/
BibTeX citation
@misc{white2022r-package, author = {White, Richard Aubrey}, title = {Sykdomspulsen: R-Package "org" (version 2022.7.20) Published on CRAN}, url = {https://docs.sykdomspulsen.no/posts/2022-07-21-org-version-2022-7-20-published-on-cran/}, year = {2022} }