R/core-table-paths.R
get_core_dat_path.Rd
Return the paths of all data within a version that match a table name
get_core_dat_path(
core_version,
core_table_name = NULL,
core_table_pattern = NULL,
pattern = "\\.dat.gz$",
base_path = "R:/DATA/core-snapshot"
)
Core version of tables typically formatted as a YYYYMMDD string
an exact string of the data set name. Should match the folder inside the core-snapshot path. Leave as NULL
if using core_table_pattern
to match several folders.
a string (can be a regex) to match a table name - can be a subdataset of core_table_name
or a pattern to match a dataset that may be split over multiple dataset folders in the core-snapshot path.
Defaults to dat.gz but can be extended for more extended using regex for more flexibility
Defaults to "R:/DATA/core-snapshot"