Coder Social home page Coder Social logo

Comments (3)

gowthamrao avatar gowthamrao commented on June 12, 2024

I propose converting any non-utf8 encoded characters to their utf8 counterparts (e.g. "Sjögren's syndrome")
@ablack3 agreed.

Similar issue OHDSI/ROhdsiWebApi#139

Adding a test that would check to make sure all text files contain only valid utf8 characters

good idea. I think we might benefit from a function that scans contributed json, sql and file names. Optionally makes conversion.
we can add a maintenance script here https://github.com/OHDSI/PhenotypeLibrary/tree/master/extras

Adding a dataframe/tibble to the package that would contain one row per cohort with metadata, json (as a list column), and sql (as a list column) so that loading the package in R would provide instant access to all phenotype and cohort data the package provides.

This repository, although has a R package in it - is not designed to be used exclusively in an R package. We want to expose each item separately. i.e. we want to be able to do pull request to change one file (e.g. change on json expression of one cohort within a phenotype). ie. the content here should be modified https://github.com/OHDSI/PhenotypeLibrary/tree/master/inst

if we want another file that is essentially appending these individual content into one dataframe object - thats fine by me (as part of package maintenance)

from phenotypelibrary.

ablack3 avatar ablack3 commented on June 12, 2024

Sounds good. I have a PR with

This repository, although has a R package in it - is not designed to be used exclusively in an R package. We want to expose each item separately. i.e. we want to be able to do pull request to change one file (e.g. change on json expression of one cohort within a phenotype). ie. the content here should be modified https://github.com/OHDSI/PhenotypeLibrary/tree/master/inst

if we want another file that is essentially appending these individual content into one dataframe object - thats fine by me (as part of package maintenance)

Yes that's my thought too. The package dataframe is derived from the files in the inst folder. It can be quickly recreated each time those files are updated. The dataframe provides easy access to the phenotype library from R as an alternative to users needing to read in files from the inst directory. The phenotype library dataframe is a downstream/derived object.

from phenotypelibrary.

gowthamrao avatar gowthamrao commented on June 12, 2024

Names now conform to atlas cohort name constraints

from phenotypelibrary.

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.