Skip to content

Accepted values in EML package vs ecoinformatics schema description #352

@BenMerSci

Description

@BenMerSci

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions