Giter Site home page Giter Site logo

mdlibtoddh's People

Contributors

alpaziz avatar cmachingauta avatar drkarthi avatar seladore avatar tonyfujs avatar yukun1218 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mdlibtoddh's Issues

Suggest treating 'studyType' as free text vs controlled vocab, with no validation.

I recommend treating studyType as free text that's not validated.
(1) We import metadata created by other institutions and NSOs that use the same template, but in different languages. They can also adjust the vocabulary to suit their requirements. If we have a limited list of terms that we check for we'll keep running into problems and constantly need to update.
(2) The list is out of date, it hasn't been updated to match all and recent study types. As is, any modern/recent survey types are mapped to 'Other' such that original study type information is lost and unavailable to users. Rather, let's take the metadata as is.

Hard coded resource title

title present in two functions create_json_resource and create_json_attach. ready for a bug! TO BE FIXED

data classification logic is flawed

Data classification is common to both dataset and resource while, there should be two different fields following their own logic. This is fine for now given how microdata currently works, but might be the cause of future problems.

Changing reference IDs

reference IDs might change sometimes... There is nothing currently in the package that is designed to catch this. Needs to be build eventually.

Review collection dates

Review how collection dates (start / end) are pulled. This is a nested field in Microdatalib, not in DDH. Potential bug in extract_md_metadata()

fix indexing from get_metadata output

test_created_dataset.R relies on the previous version of get_metadata(), change indexing to reflect updated version of the function

example

# previously
node_metadata$field_contact_email$und$value

# required change
node_metadata$field_contact_email$und[[1]]$value

Cases of invalid Microdata input

Build a check_input() function that takes a Microdata response + a master table of expected response as input, and check the validity of the response.
Ideally that would be done using a json schema from Microdata, but this is not currently available.

Incomplete dates in microdata

Some dates have just the year or just the year and the month in microdata. Add a function to complete it with the first date of the year or month.

populating contact emails

The current default is [email protected]
Should it stay that way, or should it be populated with the original contact email(s) from Microdata?
Talk to Matthew, Mehmood. See Cathrine's email June 22, 2017

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.