A tool for programmatic access to NHANES downloadable datasets
Project description
NHANES pyTOOL API
The NHANES pyTOOL 'API' is a Python library designed to simplify the process of accessing and analyzing data from the National Health and Nutrition Examination Survey (NHANES). NHANES is a program of studies conducted by the National Center for Health Statistics (NCHS), part of the Centers for Disease Control and Prevention (CDC), to assess the health and nutritional status of adults and children in the United States.
This tool provides an easy-to-use interface for retrieving NHANES datasets, allowing researchers, data science professionals, health professionals, developers and other stakeholders to explore NHANES data efficiently, enabling a wide range of health-related analyses and applications.
Features
- List Data Categories: Retrieve a list of available NHANES data categories.
- List Cycle Years: Get a list of available NHANES cycle years.
- Retrieve Variable Tables: Fetch variable tables for specific data categories.
- Get Data File Descriptions: Obtain unique data file descriptions for a given data category and cycle years.
- Retrieve Data: Fetch data for specific data categories, cycle years, and data file descriptions.
- Join Data Files: Join data files based on common variables.
- Find Common and Uncommon Variables: Identify common and uncommon variables across multiple cycle years.
Installation
To install the NHANES pyTOOL API, use pip
:
pip install nhanes_pytool_api
Important Note
Attention: In the current version of the NHANES pyTOOL API (version X.X.X), we do not provide a command-line interface (CLI) for direct use from the terminal. This means that you cannot run the API from the command line to access NHANES data. Instead, the API is designed for use as a library in Python scripts or applications.
Future Updates - We are continuously improving the NHANES Data API, and in future versions, we may consider adding a command-line interface for easier interaction with the API from the terminal. Until then, please use the API in your Python scripts or applications.
Documentation
For detailed information on how to use the NHANES pyTOOL API, check out the documentation.
Contributing
Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for nhanes_pytool_api-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71e800842437ebe842e32802e7e702682f9cf7ff659661b13abbd791a2b6ffd8 |
|
MD5 | 35e7c9a3cc13f8a96c1696556bd756dc |
|
BLAKE2b-256 | e4b67f74ac8e60a355982295166a5e40a26c86a8be4db6d26625239bd833f009 |