Skip to content

Refactor NCHS mortality to use delphi export util #1264

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 2 commits into from
Sep 27, 2021
Merged

Refactor NCHS mortality to use delphi export util #1264

merged 2 commits into from
Sep 27, 2021

Conversation

chinandrew
Copy link
Contributor

@chinandrew chinandrew commented Sep 25, 2021

Description

NCHS mortality had it's own export_csv function since it has weekly data, so this PR adds that functionality to the common delphi utils export function and removes the NCHS one. The NCHS tests in test_run.py check filenames and they pass so it should be no-op.

Changelog

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

  • Delete old NCHS export csv function
  • Add weekly flag to utils export csv function to replicate old nchs behavior

Fixes

@chinandrew chinandrew requested a review from krivard September 25, 2021 03:34
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.

Nice!

@krivard krivard merged commit 0e76a43 into main Sep 27, 2021
@krivard krivard deleted the nchs-export branch September 27, 2021 15:27
@dshemetov
Copy link
Contributor

Nit: docstring missing!

@chinandrew
Copy link
Contributor Author

Nit: docstring missing!

Good catch, thanks. Will open a new PR with it.

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.

Migrate all indicators to a common export function
3 participants