mdpath: Path of a bundled table's shipped file

View source: R/data_store.R

mdpathR Documentation

Path of a bundled table's shipped file

Description

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 slug column of mdcat().

format

"parquet" (default) or "csv". A dictionary or other non-table slug has one file, which is returned either way.

Value

A length-1 character path.

Examples

p <- mdpath("arsau_2023_uof_main_records")
file.exists(p)
basename(mdpath("arsau_2023_uof_main_records", "csv"))

rmoriedata documentation built on Nov. 12, 2026, 9:06 a.m.