| mdload | R Documentation |
Reads the table's CSV and applies the column names and classes from
the bundled schema, so the result is the same typed data frame on
every platform regardless of how read.csv() would have guessed.
Every table also ships as a Parquet file holding the same typed
frame; format = "parquet" reads that copy instead. The first load
of a table is cached for the session; later calls return the cached
copy unless refresh = TRUE.
mdload(slug, refresh = FALSE, format = c("csv", "parquet"))
slug |
Dataset slug; see the |
refresh |
Re-read the file even if a cached copy exists. |
format |
|
A data frame.
d <- mdload("arsau_2023_uof_main_records")
str(d[, 1:4])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.