sp_data: Create paths to files in a synced datasets library

sp_dataR Documentation

Create paths to files in a synced datasets library

Description

Functions for creating paths to files in a synced datasets library. These functions are designed to be simple and compact.

Usage

sp_acs(y, f)

sp_cps_asec(y, f)

sp_cps_basic(y, m, f)

Arguments

y

One or more years.

f

Format of data. One of "csv", "dta", or "parquet".

m

One or more months (specified numerically).

Details

These functions create one or more file paths based on sp_data_path() and the directory structure and file naming convention of each dataset library. These functions do not verify whether the resulting files actually exist.

Value

A character vector containing the created file paths.

Requesting a function

If you'd like to request an ⁠sp_*()⁠ function for a dataset you use frequently, please file an issue on GitHub.

See Also

sp_data_path() to get your basic path to a synced datasets library.


CenterOnBudget/Rcbpp documentation built on Jan. 6, 2025, 9:32 p.m.