create_entity_all.Rd
. Use to quickly create EML entity list objects from all entities listed in dataset.
create_entity_all(meta_list, file_dir = "", dataset_id)
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 if "". |
dataset_id | (numeric) A dataset ID. |
(list) A list containing all data entities from dataset. Use this in the `entity_list` argument for create_EML
.
First level list elements are grouped by entity types present in dataset and named accordingly.
Each first level element is a list of unnamed lists; the number of elements correspond to how many entities of each type are present in dataset.
Second level elements are analogous to output from create_entity
.
# NOT RUN { # continued from \code{\link{get_meta}} entities <- create_entity_all(meta_list = metadata, dataset_id = 1) # }