Comments (3)
Thanks! This is encouraging to hear. I agree that getting past having to deal with NULL
and ListOf
makes these a lot easier to write.
It's been both exciting and a bit scary to see the EML R package is getting real uptake (i.e. by people I don't already know), which probably says more about EML standard than the R package. I know you need a stable platform for the arctic data work, but are also doing a lot of custom development in articdatautils -- do you think we have a path to get some of that to be emld
based instead of S4 based?
Just a reminder that I have a emld
-based versions of most (all?) of the set_
methods from EML over in https://github.com/cboettig/eml2 now, and recall that eml2
has a construct
function for all complex EML elements (basically providing tab completion but not documentation at this point; which could/should be added), e.g. construct$creator()
etc.
I haven't written all the get_
methods, in particular, for the methods that return tabular input from EML (attribute table, taxa table), though I've done some. The default rectangling performed by jsonlite::fromJSON()
provides a pretty nice generic algorithm for mapping nested JSON to a data.frame, though sometimes needs a little tidying.
I'm also practicing a pattern based on jq
queries to get 'flatter' JSON returned that can be easily rectangled. I think the jq
approach will also be useful for going between, say, schema.org and eml json; i.e. using schema.org as a lighter-weight input format of key-value pairs than EML (mostly has slightly less typing and cleaner semantics, e.g. givenName and familyName are properties of creator, not properties of individualName, which is a more cludgy way of implying type: Organization.) okay, I digress...
from emld.
do you think we have a path to get some of that to be emld based instead of S4 based?
Maybe. I'm no longer working on arcticdatautils
, and have transferred maintenance to to the team that works with arcticdata.io and other projects. I know they're quite capable of learning the new way, though they may not see the point because they already have the helpers in S4. Asking them to play around with it might be a good use case.
from emld.
I've opted to go back from construct$dataset
etc to the shorter eml$dataset
in eml2
constructor methods. eml2
also now has a set_responsibleParty
method.
from emld.
Related Issues (20)
- validate_units edge case HOT 4
- Issue with textType serialization HOT 4
- Link broken HOT 1
- fix EML 2.2.0 namespace HOT 7
- New release? HOT 6
- Consider changing default `xsi:schemaLocation` value to point to a remote copy of the eml.xsd HOT 5
- validation produces spurious errors
- additional validation errors HOT 4
- test suite should comfirm invalidEMLs are indeed invalid
- Don't depend on `schemaLocation` to find the schema file to validate with HOT 2
- Either `as_emld` or `as_xml` not handling docs with submodule at root HOT 4
- Look into making use of schema catalogs to validate
- Should `validate_units` be reworked to use the right version of the unitDictionary? HOT 2
- Add warning/error when the user sets an invalid EML version string HOT 2
- Take another look at new `eml_version` behavior HOT 2
- Tag 0.4.0 release HOT 1
- Release 0.5.0 HOT 2
- EML attributes dropped from tags silently HOT 1
- Change return type or behavior of as_xml? HOT 1
- `as_eml_document`doesn't account for multiple types of `coverage` element HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emld.