Comments (3)
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.
Sounds good. I have a PR with
- A automated test to check for non-utf8 characters in json and sql files
- A script that converts all json files to utf8
- Code to build a dataframe from the souce files in the inst directory as part of package maintenace
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.
Names now conform to atlas cohort name constraints
from phenotypelibrary.
Related Issues (20)
- Publish subscribe mechanism for (e.g. WebSub) HOT 3
- Warning in utils::tar() storing paths of more than 100 bytes is not portable HOT 2
- The logic description for referent and incident cohorts are flipped
- Possible issue with existing cohort definition 441202003: Anaphylactic reaction by Walsh (Mini-sentinial validated definition) HOT 1
- Move `extra/PhenotypeDescription.csv` into `inst` for use by other packages HOT 1
- Create Date, Update Date HOT 1
- CKD Excluding Stage 1 & Stage 2 has those concept
- Description flipped for Incident and Prevalent cohorts? HOT 2
- [BUG] Critical Error When Accessing Website HOT 4
- Phenotype Library App not working HOT 1
- Inclusion in HADES HOT 1
- R check notes need solving HOT 1
- Some json files are not valid UTF8 HOT 1
- Add URLs in About HOT 3
- T2DM --> Hemoglobin A1c (HbA1c) measurements HOT 1
- v3.1.6 non-standard concepts to define concept sets HOT 1
- Error in IL-23 inhibitor cohorts I submitted HOT 1
- https://dash.ohdsi.org/phenotype-explorer Not working HOT 2
- Incorrect name for cohort 1219 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phenotypelibrary.