The absolute path of the CSV or Parquet copy of a table, verified
against the signed manifest first. The Parquet path is the bridge to
Python: pandas.read_parquet(path) gives the same typed table
mdload() returns.
Usage
mdpath(slug, format = c("parquet", "csv"))Arguments
- slug
Dataset slug; see the
slugcolumn ofmdcat().- format
"parquet"(default) or"csv". A dictionary or other non-table slug has one file, which is returned either way.
Examples
p <- mdpath("arsau_2023_uof_main_records")
file.exists(p)
#> [1] TRUE
basename(mdpath("arsau_2023_uof_main_records", "csv"))
#> [1] "uof_main_records.csv"
