Switch from EML to eml2 in publishing-data lesson#23
Switch from EML to eml2 in publishing-data lesson#23cboettig wants to merge 2 commits intoNCEAS:gh-pagesfrom
EML to eml2 in publishing-data lesson#23Conversation
|
Looks great, Carl. I've asked several people on our team to give eml2 a spin. I'm going to hold onto this PR for a bit as the current repo reflects what we actually taught in OSS, and we're trying to figure out how to tag and version these repos. But we'll get it folded in. Plus we have several other tutorials around that could be updated. |
|
@mbjones Thanks Matt! yeah, that makes sense. Mostly am trying to get some more eyeballs on btw, |
@mbjones
I believe
eml2provides a significantly improved user interface overEML. Please see the diff for a good illustration of this. Ineml2, all bbjects behave like R lists (S3 objects); there is never a need to usenew(), never a need to index repeatable objects if they are not repeated (e.g. no more@physical[[1]]), never a need to coerce attribute values to attribute types or coerce textTypes to the corresponding class. I think this eliminates most of the gotchas that make theEMLpackage such a huge pain to work with.