Giter Site home page Giter Site logo

oicr-zinc's Issues

atc_classifications split into two fields

Before moving to GitHub, there is one field for atc code:

   "atc_classifications": [
      {
           "level4": "L01AA",
           "level4_description": "Nitrogen mustard analogues",
           "level5": "L01AA07",
           "who_name": "trofosfamide"
       }
   ],

What's in the git repo now:

   "atc_codes": [
       {
           "code": "L01AA",
           "description": "Nitrogen mustard analogues"
       }
   ],
   "atc_level5_codes": [
       "L01AA07"
   ],

Can we merge these two into one field as before?

ATC values: atc_codes vs atc_classifications

Hi!

We were going over the latest data from our import of the drug data and noticed we were missing ATC information for some drugs. Turns out we were not accounting for a structure that it sometimes present in the JSON.

We were expecting something like this:

"atc_level5_codes": ["L01AD07"], "atc_codes": [{"code": "L01AD", "description": "Nitrosoureas"}]

But instead got something like this:

"atc_classifications": [{"who_name": "abiraterone", "level4": "L02BX", "level5": "L02BX03", "level4_description": "Other hormone antagonists and related agents"}]

I've made the appropriate changes in our import process to handle this, but I was curious if there is going to be a consolidation in the future to a single structure or maybe there was a reason for having differing structures?

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.