Giter VIP home page Giter VIP logo

Comments (3)

cboettig avatar cboettig commented on June 27, 2024

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.

amoeba avatar amoeba commented on June 27, 2024

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.

cboettig avatar cboettig commented on June 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.