I'm sorry in advance if this is silly and obvious, but I can't seem to find a clear answer anywhere.
I'm currently trying to build a dummy EML for testing, and I'm using the schema documentation from https://eml.ecoinformatics.org/schema/ to understand the different possible tags and values for each field.
I was trying to recreate a small EML with the creator, contact, pubDate, abstract, and intellectualRights fields. I'm working with a lot of GBIF data, so I wanted to mimic how they populate their intellectualRights field, which seems to be inline with what is documented at https://eml.ecoinformatics.org/schema/:
intellectualRights has three sub-tags: section, para and markdown, and I think GBIF uses it mostly like so:
intellectual_rights <- list( para = list( #text= "This work is licensed under a.", ulink = list(@url = "http://creativecommons.org/licenses/by/4.0/legalcode", citetitle = "Creative Commons Attribution (CC-BY) 4.0 License" ) ) )
which doesn't seem to be supported by the package EML as eml_validate() returns errors however I try to twist it with these different tags. I've seen that in the package documentation the intellectualRights field is provided as a plain string.
I'm trying to understand the difference between the documentation of the dataset schema from ecoinformatics, and what is accepted (validates) from the EML package.
Thank you!
I'm sorry in advance if this is silly and obvious, but I can't seem to find a clear answer anywhere.
I'm currently trying to build a dummy EML for testing, and I'm using the schema documentation from
https://eml.ecoinformatics.org/schema/to understand the different possible tags and values for each field.I was trying to recreate a small EML with the
creator,contact,pubDate,abstract, andintellectualRightsfields. I'm working with a lot of GBIF data, so I wanted to mimic how they populate theirintellectualRightsfield, which seems to be inline with what is documented athttps://eml.ecoinformatics.org/schema/:intellectualRightshas three sub-tags:section,paraandmarkdown, and I think GBIF uses it mostly like so:intellectual_rights <- list( para = list(#text= "This work is licensed under a.", ulink = list(@url= "http://creativecommons.org/licenses/by/4.0/legalcode", citetitle = "Creative Commons Attribution (CC-BY) 4.0 License" ) ) )which doesn't seem to be supported by the package EML as eml_validate() returns errors however I try to twist it with these different tags. I've seen that in the package documentation the
intellectualRightsfield is provided as a plain string.I'm trying to understand the difference between the documentation of the dataset schema from ecoinformatics, and what is accepted (validates) from the EML package.
Thank you!