boettiger-lab / eml2schema

0 stars 0 forks source link

Step 2: richer `creator` elements #2

Open cboettig opened 6 years ago

cboettig commented 6 years ago

@AlexLi0104 Once you resolve the few remaining issues in Step 1, we'll be ready to go a bit deeper.

Your map for EML:creator -> schema:creator is a good start, but there are lots more additional terms that can appear in a creator entry in both EML and Schema. Our next step is to add more of these terms, which will also help you get more familiar with these two different data structures.

Here's a diagram of all the additional terms that can be used inside an EML creator element: https://raw.githubusercontent.com/ropensci/EML/master/inst/xsd/docs/eml-2.1.1/eml-party.png

Meanwhile, here's a list of all the terms that can be used inside a Schema creator element: http://schema.org/Person

As you see, both have concept of address, email etc, but called different things and laid out a little differently. Even though our example hf205.json wasn't using most of these, in general, we want a map that is as complete as possible. I'll try and dig up some examples that have a few more terms in use, but you can get the general idea by looking directly at the specs as linked above. (The EML ones can be a bit harder to read unfortunately, but you can find those diagrams by digging around in the EML documentation linked in the Rmd document).

cboettig commented 6 years ago

nice work on the creator, closing this and will open a generic EML to Schema issue as #4