Downloads and optionally loads a csv/feather file from a specified version of a dataset
get_df_file.Rd
Downloads and optionally loads a csv/feather file from a specified version of a dataset
Usage
get_df_file(
repo,
filename,
version = NULL,
read = TRUE,
col_types = NULL,
version_already_handled = FALSE
)
Arguments
- repo
dataset name: 'all_basiclevel', 'reliability', etc.
- filename
name of a csv/feather file
- version
version tag to checkout
- read
If TRUE (default), loads the file. Otherwise, returns the path.
- col_types
Passed to
readr::read_csv
when filename ends with ".csv".