CDCgov / nis-py-api

Python API to NIS data
Apache License 2.0
0 stars 0 forks source link

nis-py-api

Python API to the National Immunization Survey (NIS) data.

:construction: This tool is in alpha development. The API and data schema are not stable.

Getting started

Data dictionary

The data have these columns, in order, with these types:

column type
vaccine String
geographic_type String
geographic_value String
demographic_type String
demographic_value String
indicator_type String
indicator_value String
time_type String
time_start Date
time_end Date
estimate Float64
lci Float64
uci Float64

Note the paired use of "type" and "value" columns.

Rows that were suppressed in the raw data are dropped. This includes data with suppression flag "1", indicating small sample size, and data with flag ".", which may indicate that data were not collected.

vaccine

geographic_type

geographic_value

demographic_type

demographic_value

indicator_type

indicator_value

time_type

time_start and time_end

Period of time associated with the observation. Note that "monthly" and "weekly" observations do not always align with calendar weeks or months, so we specify the two dates explicitly.

estimate

lci and uci

The lower and upper limits of the 95% confidence interval, measured in the same units as estimate

Contributing

See also the contributing notice below.

Adding a new dataset

  1. Annotate the dataset ID and URL in datasets.yaml
  2. Use a script like scripts/demo_clean.py to iterate when formulating the cleaning steps.

When adding a new dataset, include demonstrations that the content of the clean data is what you expected.

Project Admin

General Disclaimer

This repository was created for use by CDC programs to collaborate on public health related projects in support of the CDC mission. GitHub is not hosted by the CDC, but is a third party website used by CDC and its partners to share information and collaborate on software. CDC use of GitHub does not imply an endorsement of any one particular service, product, or enterprise.

Public Domain Standard Notice

This repository constitutes a work of the United States Government and is not subject to domestic copyright protection under 17 USC § 105. This repository is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication. All contributions to this repository will be released under the CC0 dedication. By submitting a pull request you are agreeing to comply with this waiver of copyright interest.

License Standard Notice

This repository is licensed under ASL v2 or later.

Privacy Standard Notice

This repository contains only non-sensitive, publicly available data and information. All material and community participation is covered by the Disclaimer and Code of Conduct. For more information about CDC's privacy policy, please visit http://www.cdc.gov/other/privacy.html.

Contributing Standard Notice

Anyone is encouraged to contribute to the repository by forking and submitting a pull request. (If you are new to GitHub, you might start with a basic tutorial.) By contributing to this project, you grant a world-wide, royalty-free, perpetual, irrevocable, non-exclusive, transferable license to all users under the terms of the Apache Software License v2 or later.

All comments, messages, pull requests, and other submissions received through CDC including this GitHub page may be subject to applicable federal law, including but not limited to the Federal Records Act, and may be archived. Learn more at http://www.cdc.gov/other/privacy.html.

Records Management Standard Notice

This repository is not a source of government records but is a copy to increase collaboration and collaborative potential. All government records will be published through the CDC web site.