This package provides tools to facilitate a data analysis project. These tools include a function to structure the project directory, a function to set up a data directory external to the project directory and a function to get the absolute path to files in the data directory.
This package is not currently available from CRAN. To install the package from GitHub run:
# install.packages("devtools")
devtools::install_github("mt-edwards/projectr")
To structure a new data analysis project, in the console, run:
projectr::structure_project()
To set a data directory (e.g. ~/documents/data
) external to the
project directory, in the console, run:
projectr::set_data_directory("~/documents/data")
To get the absolute path to a file (e.g. file.csv
) in the data
directory run:
projectr::data_directory_path("file.csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.