/xxxxxxxxxxxxxx

Primary LanguageHTMLOtherNOASSERTION

template-placeholder

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, and/or the Zenodo data reference (https://doi.org/%5BZENODO_DOI%5D) when using data or referring to this study.

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 literate code for R Markdown reports generated in the analysis
  • outputs/ contains compiled reports and figures.
  • 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.)
graph LR
subgraph Project Workflow
    direction LR
    x835f456db5951df5(["all_plot_files"]):::built --> xbda0fd67e19f73bc(["outputs_readme"]):::queued
    x07b56d1fbca21cf3(["summarized_quantities"]):::built --> xbda0fd67e19f73bc(["outputs_readme"]):::queued
    x9e3eef4eeb77d655(["report_template"]):::built --> x9e3eef4eeb77d655(["report_template"]):::built
  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.