Skip to content

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

4 participants