Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filter() to encounter for each ICD9/10 code #27

Open
dlemas opened this issue Jan 10, 2022 · 1 comment
Open

filter() to encounter for each ICD9/10 code #27

dlemas opened this issue Jan 10, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@dlemas
Copy link
Collaborator

dlemas commented Jan 10, 2022

The script to modify is : idr2rda_mom_diagnosis.rmd

something like . . .
ehr_codes=df %>%
group_by(ID, ICD-code) %>%
filter(perinatal_dx_type=="ENCOUNTER")

This will REDUCE the size of the *RDA output file that is used for downstream analysis.

@dlemas dlemas added the enhancement New feature or request label Jan 10, 2022
@dlemas dlemas added this to the Data Processing is Complete milestone Jan 10, 2022
@dlemas
Copy link
Collaborator Author

dlemas commented Jan 10, 2022

xkcococo pushed a commit that referenced this issue Jan 14, 2022
Filter perinatal dx type == 'ENCOUNTER' for each ICD-codes per participant ID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
PE Prediction
Awaiting triage
Development

No branches or pull requests

2 participants