almeidasilvaf / tidyproj

An R package to create a standard project structure for reproducible research

Home Page:https://almeidasilvaf.github.io/tidyproj/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tidyproj

Lifecycle: stable R-CMD-check Codecov test coverage

The goal of tidyproj is to create a standard directory structure for scientific projects, including a code, data, and products directory. This way, all projects will look the same, making it easier to load and save data in different projects.

You can see an example directory created with tidyproj in inst/extdata. The directory structure looks like this:

exampledir <- system.file("extdata", "exampledir", package = "tidyproj")
fs::dir_tree(exampledir)
#> /tmp/Rtmp6OxAsJ/temp_libpath9cfde46e58d41/tidyproj/extdata/exampledir
#> ├── README.md
#> ├── code
#> │   ├── 01_first_analysis.Rmd
#> │   ├── 02_second_analysis.Rmd
#> │   ├── 03_third_analysis.Rmd
#> │   └── 04_fourth_analysis.Rmd
#> ├── data
#> │   └── DATA_DESCRIPTION.Rmd
#> └── products
#>     ├── figs
#>     ├── plots
#>     ├── result_files
#>     └── tables

Installation

Get the latest stable R release from CRAN. Then, install tidyproj from GitHub using the following code:

if(!requireNamespace('remotes', quietly = TRUE))
  install.packages('remotes')
remotes::install_github("almeidasilvaf/tidyproj")

About

An R package to create a standard project structure for reproducible research

https://almeidasilvaf.github.io/tidyproj/


Languages

Language:R 97.9%Language:CSS 2.1%