Giter VIP home page Giter VIP logo

cpdat's Introduction

cpdat

Chemical and Products Database as a Graph

Data Sources:

Schema:

Visual of Schema

To change the visual of the schema go to Arrows load then edit markup from arrows.txt file.

File: chemical_dictionary_20201216.csv

Chemical(chemical_id)
    name:string
    casrn:string
    preferred_name:string
    preferred_casrn:string
    DTXSID:string
    curation_level:string

File: document_dictionary_20201216.csv

Document(document_id)
    title:string
    subtitle:string
    date:string // Not date because formatting is not standard, would have to clean up before proper import as date
                // "06.20.2016", "13-May-2015", "13/08/2014"

File: functional_use_data_20201216.csv

REPORTED_FUNCTION(Document, document_id, Function, functional_use_id)

File: functional_use_dictionary_20201216.csv

Function_Category(oecd_function)
Function_Use(report_funcuse)
Function(functional_use_id)

HAS_USE(Function_Category, oecd_function, Function_Use, report_funcuse)
HAS_FUNCTION(Function_Use, report_funcuse, Function, functional_use_id)
USES_CHEMICAL(Function, functional_use_id, Chemical, chemical_id)

File: HHE_data_20201216.csv

REPORTED_CHEMICAL(Document, document_id, Chemical, chemical_id)

File: list_presence_data_20201216.csv

REPORTED_REASON(Document, document_id, Reason_Listed, list_presence_id)
IS_PRESENT(Chemical, chemical_id, Reason_Listed, list_presence_id)

File: list_presence_dictionary_20201216.csv

Reason_Listed(list_presence_id)
    name:string
    definition:string
    kind:string

File: product_composition_data_20201216.csv

Brand(brand_name)
Product(prod_id)
    title:string
    raw_min_comp:string
    raw_central_comp:string
    raw_max_comp:string
    clean_min_wf:double
    clean_central_wf:double
    clean_max_wf:double

HAS_BRAND(Product, prod_id, Brand, brand_name)
IS_TYPE(Product, prod_id, PUC_Type, puc_id)
FUNCTIONS_AS(Product, prod_id, Function, functional_use_id)
HAS_CHEMICAL(Product, prod_id, Chemical, chemical_id)

File: PUC_dictionary_20201216.csv

PUC_Category(gen_cat)
PUC_Family(prod_fam)
PUC_Type(puc_id)
    name:String
    description:string
    code:String
    kind:String

HAS_FAMILY(PUC_Category, gen_cat, PUC_Family, prod_fam)
HAS_TYPE(PUC_Family, prod_fam, PUC_Type, puc_id)

File: QSUR_data_20201216.csv

QSUR_Category(harmonized_function)
PROBABLE_USE
    probability:double

cpdat's People

Contributors

maxdemarzi avatar

Watchers

 avatar

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.