Closed ChristineStawitz-NOAA closed 2 years ago
Hi @ChristineStawitz-NOAA - it looks like you might be missing the required contact
element.
Does this work for you?
my_eml <- eml$eml(
packageId = uuid::UUIDgenerate(),
system = "uuid",
dataset = eml$dataset(
title = "Landings",
creator = christine,
contact = christine,
pubDate = "2021",
keywordSet = keywordSet,
coverage = coverage,
dataTable = eml$dataTable(
entityName = "landings.csv",
entityDescription = "table of fishery landings",
physical = physical,
attributeList = attributeList)
))
eml_validate(my_eml)
Oh, I think so! At least, I'm now getting a different error. Thank you!
Hi,
I'm working on a toy example based on the one in the README as follows:
This returns FALSE and
"Element 'dataTable': This element is not expected. Expected is one of ( annotation, purpose, introduction, gettingStarted, acknowledgements, maintenance, contact )."
How would we define a dataTable within a dataset as in the example from the README?