Skip to content

Latest commit

 

History

History
83 lines (67 loc) · 3.64 KB

README.md

File metadata and controls

83 lines (67 loc) · 3.64 KB

mkrproj

License (for code): MIT License (for data): CC0-1.0 License (for text): CC-BY-4.0

This repository contains data and R code which are supplements to:

Paper Title, by Author , Author , and Author , (20XX)

Please cite that paper, when referring to this work. Please also cite the permanent archive of repository (Zenodo reference (https://doi.org/%5BZENODO_DOI%5D) when reusing or referring directly to data and code.

Repository Structure and Reproducibility

  • data/ contains data from the study and a data dictionary describing all variables.
  • R/ contains functions used in this analysis.
  • reports/ contains R Markdown/Quarto reports generated in the analysis
  • outputs/ contains figures and other outputs
  • This project uses the {targets} framework to organize build steps for analysis pipeline. The steps are defined in the _targets.R file and the workflow can be executed by running run.R via source("run.R") in your R terminal or Rscript run.R in your system shell. The schematic figure below summarizes the steps. (The figure is generated using mermaid.js syntax and should display as a graph on GitHub. It can also be viewed by pasting the code into https://mermaid.live.)
<script type="module"> import mermaid from 'https://unpkg.com/mermaid@9/dist/mermaid.esm.min.mjs'; mermaid.initialize({ startOnLoad: true }); </script>
graph LR
subgraph Project Workflow
    direction LR
    x835f456db5951df5(["all_plot_files"]):::skipped --> xbda0fd67e19f73bc(["outputs_readme"]):::built
    x07b56d1fbca21cf3(["summarized_quantities"]):::skipped --> xbda0fd67e19f73bc(["outputs_readme"]):::built
    x9e3eef4eeb77d655(["report_template"]):::skipped --> x9e3eef4eeb77d655(["report_template"]):::skipped
  end
linkStyle 0 stroke-width:0px;
Loading
  • This project was built with R version 4.2.2 (2022-10-31). This project uses the {renv} framework to record R package dependencies and versions. Packages and versions used are recorded in renv.lock and code used to manage dependencies is in renv/ and other files in the root project directory. On starting an R session in the working directory, run renv::restore() to install R package dependencies.

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.