View source: R/create_entity.R
create_entity | R Documentation |
Use to examine entity list structure or troubleshoot invalid EML, or to put together custom entity lists. Use create_entity_all
for common EML generation usage, which loops this function over all entities listed in a dataset under the hood.
create_entity(
meta_list,
file_dir = getwd(),
dataset_id,
entity,
skip_checks = FALSE
)
meta_list |
(character) A list of dataframes containing metadata returned by |
file_dir |
(character) Path to directory containing flat files (data files). Defaults to current R working directory. Note: if there's information on "entityrecords", "filesize", "filesize_units", and "checksum" columns in the entities table in metabase, there is no need for reading the actual files, so this field can stay NULL. |
dataset_id |
(numeric) A dataset ID. |
entity |
(numeric) An entity number. |
skip_checks |
(logical) Whether to skip checking for attribute congruence. Defaults to FALSE. |
(list) A list object containing one data entity.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.