| 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. The cached copy is what the file held when
it was checked; when mdverify() finds the file changed since, the
cached copy is dropped, and the next load reads the file again and
refuses it.
mdload(slug, refresh = FALSE, format = c("csv", "parquet"))
slug |
Dataset slug; see the |
refresh |
Re-read the file, and check it against the signed manifest again, 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.