Skip to content

This is a template for all of my data projects written in R.

Notifications You must be signed in to change notification settings

carrliitos/data-project-template-r

Repository files navigation

Introduce the purpose of the project here.

Execution

To execute, run the below commands:

rstudioapi::jobRunScript(here::here("execute.R"))

If RStudio is not running, open an R terminal and run the following:

source(here::here("execute.R"))

Structure

The project contains the following general structure:

  • R: Complex or significant amounts of R code that is not appropriate for notebooks.
  • data-raw: Incoming datasets that should be considered readonly.
  • data: Datasets produced for cleaning, analysis, or distribution after execution of scripts.
  • notebooks: Notebooks that support the manipulation and analysis of the datasets; number workbooks in order of execution required and divide into subdirectories if needed.
  • output: Any documents or datasets intended for distribution from this project.
  • renv: R packages needed to execute the project.
  • reports: RMarkdown documents that support the manipulation and analysis of the datasets; number workbooks in order of execution required and divide into subdirectories if needed.
  • sql: SQL scripts to extract datasets.

About

This is a template for all of my data projects written in R.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages