Giter Site home page Giter Site logo

Field naming, biobank ETL about ml4h HOT 4 CLOSED

gpbatra avatar gpbatra commented on July 22, 2024
Field naming, biobank ETL

from ml4h.

Comments (4)

carbocation avatar carbocation commented on July 22, 2024

Can you unpack this? I am not sure what this is asking.

from ml4h.

gpbatra avatar gpbatra commented on July 22, 2024

Sure -- when we download the hesin table from the UKBiobank Showcase, the raw field name that comes out is 'eid', instead of 'sample_id'. The hesin.json (which defines the schema) also maps the field name to 'eid'.

I've got no problem if we want to rename that field as 'sample_id', but would be best if we did it there, directly in that hesin.json (and the other hesin.json files). Then, anytime we create a derived table, 'eid' would disappear.

In other words, make this change as far upstream as possible.

from ml4h.

carbocation avatar carbocation commented on July 22, 2024

Since hesin, hesin_icd10, etc are all direct copies of UK Biobank output without modification, I haven't been replacing eid with sample_id. I have only been doing that renaming step in derived tables. If we are going to change the naming of fields in the raw data, we will just need to review which tools will need to be updated to expect that rename.

from ml4h.

lucidtronix avatar lucidtronix commented on July 22, 2024

I think the current practice of keeping the raw imports as is and only doing the renaming in derived tables is working. If there are objections re-open this issue and let's discuss.

from ml4h.

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.