project_data_path: Get DataPackageR data path

View source: R/processData.R

project_data_pathR Documentation

Get DataPackageR data path

Description

Get DataPackageR data path

Usage

project_data_path(file = NULL)

Arguments

file

character or NULL (default).

Details

Returns the path to the data package data subdirectory, or constructs a path to a file in the data subdirectory from the file argument.

Value

character

Examples

if(rmarkdown::pandoc_available()){
project_data_path( file = "data.rda" )
}

ropensci/DataPackageR documentation built on April 17, 2024, 11:43 a.m.