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

[DO NOT MERGE] Tox reports #133

Draft
wants to merge 5 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/raw-data
container.sif
website/debug.log
job.sh
1 change: 1 addition & 0 deletions data-processor/scripts/02-create-raw-db.sql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ sqlite3 $DB << EOF
.mode csv
.import "${DATA_SOURCES}/Marion_OD_Dataset-6_20_2019.csv" od_deaths_raw
.import "${DATA_SOURCES}/Marion_OD_Jail_Weekly--06252019.csv" od_incarcerations_weekly_raw
.import "${DATA_SOURCES}/2023_Tox_Reports.csv" tox_reports_raw
.quit
EOF
3 changes: 2 additions & 1 deletion data-processor/src/a2agc/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ def load(xml: str) -> Schema:
'medications': 'PHYS_TIME',
'ems_incidents': 'PCRDateTime',
'incarcerations': 'BOOKING_DATE',
'encounters': 'ADMIT_TIME'
'encounters': 'ADMIT_TIME',
'tox_reports': 'DOD'
}

# Node queries
Expand Down
Loading