Giter Club home page Giter Club logo

Comments (5)

G-White-ISB avatar G-White-ISB commented on September 14, 2024

I had originally detected the column types using pandas but I'll try auto-detection in BigQuery.

from etl.

G-White-ISB avatar G-White-ISB commented on September 14, 2024

So auto-detect in BigQuery will not work because the clinical data is sparse. Some patients rows have missing columns. But I figured out how to do this using the predetermined schema. This column order is now fixed in idc-dev-etl.clinical dataset

from etl.

fedorov avatar fedorov commented on September 14, 2024

So auto-detect in BigQuery will not work because the clinical data is sparse. Some patients rows have missing columns.

I don't understand that. I understand individual patients may have empty values in certain columns, but the columns are defined per-table, how can they be missing?

from etl.

G-White-ISB avatar G-White-ISB commented on September 14, 2024

In the JSON array used to populate the tables, patient rows will have missing attributes . The first patient will have one set of defined attributes, and the 2nd patient will have a somewhat different set etc. This makes it tricky to auto-detect the column order. I expect that, using auto-detect, the columns are created in the order the corresponding attributes are first encountered.

from etl.

fedorov avatar fedorov commented on September 14, 2024

This has been resolved.

from etl.

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.