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

Clinical Feature Extraction/Engineering Abstraction to Reusable SQL Code #392

Open
jonc101 opened this issue Jan 12, 2023 · 0 comments
Open
Projects

Comments

@jonc101
Copy link
Collaborator

jonc101 commented Jan 12, 2023

Similar to Issue #391 with cohort query abstraction, do similar for common task of clinical feature extraction from Stanford clinical EMR databases. Adapt to SQL to make it efficient to just reuse BigQuery infrastructure without having dependencies on Python, R, or other layers. (Though application logic layers can still be used for more advanced feature engineering and manipulation.)

Do we have SQL code for common clinical feature extraction / engineering / feature matrix factory? I know we have several version of people's Python code for common feature engineering, @ccorbin's is probably the most robust at this point. But just as we can consolidate cohort construction in just SQL (given how bizarrely efficient BigQuery is), it would be worth doing the same for feature extraction. Can still use Python or other downstream code for further feature engineering or manipulation. I think @Grace K might have had some examples of constructing some common features using just SQL queries to add feature columns to a cohort table/query?

@jonc101 jonc101 created this issue from a note in DevOps (To Do) Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
DevOps
  
To Do
Development

No branches or pull requests

1 participant