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
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.