NCEAS / datamgmt

Data management utilities for curating, documenting, and publishing data.
https://nceas.github.io/datamgmt/
Apache License 2.0
15 stars 13 forks source link

update all datamgmt functions to be compatible wth EML2 #184

Open jeanetteclark opened 5 years ago

jeanetteclark commented 5 years ago

I think the main issue with this function is actually load_EML_units breaking.

this call: unitList_nS <- EML::get_unitList(x = EML::read_eml(system.file("share/EML-nS-unitDictionary.xml", package = "datamgmt"))) returns an empty list.

I believe you could just get the units from x$unit - bypassing the EML::get_unitList call entirely.

jeanetteclark commented 5 years ago

I took a quick stab at it with 410bdee on a branch but it probably (definitely) needs to be looked at more closely

jagoldstein commented 5 years ago

We need all the datamgmt functions updated to be compatible with the EML2 syntax before the latter package is installed, loaded, and adopted for use on the Datateam server.