Skip to content

Backfill/claims_hosp #1675

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

Merged
merged 15 commits into from
Jan 17, 2023
Merged

Backfill/claims_hosp #1675

merged 15 commits into from
Jan 17, 2023

Conversation

jingjtang
Copy link
Contributor

Description

Generate and store county level backfill file locally (On MIDAS) for claims_hosp. The newly added function will check the input file daily and store backfill file on a daily basis. Every 4 weeks, we will check the daily files and merge them into a combined file.

Changelog

Itemize code/test/documentation changes and files added/removed.

  • backfill.py, run.py modify the current code, to save the county level intermediate file to backfill_dir before generating signals if there are new input raw files added by DV.
  • setup.py add pyarrow as a necessary package so as to save the backfill file in the parquet format.
  • tests/test_backfill.py add the unit tests for backfill related helper functions.
  • params.json.template add backfill_dir, backfill_merge_day

@jingjtang jingjtang requested a review from krivard August 4, 2022 20:45
@krivard krivard requested a review from nmdefries August 23, 2022 14:51
@jingjtang jingjtang requested a review from nmdefries September 1, 2022 01:54
@jingjtang jingjtang requested a review from krivard September 2, 2022 19:55
@nmdefries
Copy link
Contributor

@jingjtang Can you resolve the conflict with main? Looks like Brian changed the receiving_dir in tandem; I'm not sure which is more up to date.

Added the daily file format changes.

@jingjtang
Copy link
Contributor Author

@jingjtang Can you resolve the conflict with main? Looks like Brian changed the receiving_dir in tandem; I'm not sure which is more up to date.

Added the daily file format changes.

Use the one that Brian uses, that one should be more up-to-date

Copy link
Contributor

@krivard krivard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@krivard krivard merged commit a0c9e3d into main Jan 17, 2023
@krivard krivard deleted the backfill/claims_hosp branch January 17, 2023 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants