Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kkrusere committed Oct 19, 2023
1 parent c9ab229 commit d38badb
Show file tree
Hide file tree
Showing 8 changed files with 84 additions and 1 deletion.
22 changes: 22 additions & 0 deletions NHANES_DATA_API.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Metadata-Version: 2.1
Name: NHANES-DATA-API
Version: 0.1.0
Summary: A tool for programmatic access to NHANES downloadable datasets
Home-page: https://github.com/kkrusere/NHANES-Data-API
Author: Kuzi Rusere
Author-email: kkrusere@gmail.com
Project-URL: Documentation, https://github.com/kkrusere/NHANES-Data-API/blob/main/docs/index.md
Project-URL: Bug Tracker, https://github.com/kkrusere/NHANES-Data-API/blob/main/issues/NHANE-DATA-API_issues.md
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.11
Classifier: Operating System :: OS Independent
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: pandas
Provides-Extra: test
Requires-Dist: pytest; extra == "test"

See README.md for details
11 changes: 11 additions & 0 deletions NHANES_DATA_API.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
LICENSE
MANIFEST.in
README.md
setup.cfg
setup.py
NHANES_DATA_API.egg-info/PKG-INFO
NHANES_DATA_API.egg-info/SOURCES.txt
NHANES_DATA_API.egg-info/dependency_links.txt
NHANES_DATA_API.egg-info/requires.txt
NHANES_DATA_API.egg-info/top_level.txt
test/test_nhanes_data_api.py
1 change: 1 addition & 0 deletions NHANES_DATA_API.egg-info/dependency_links.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

5 changes: 5 additions & 0 deletions NHANES_DATA_API.egg-info/requires.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
numpy
pandas

[test]
pytest
1 change: 1 addition & 0 deletions NHANES_DATA_API.egg-info/top_level.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# NHANES Data API

The NHANES Data '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 'API' 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 Data API, use `pip`:

```bash
pip install nhanes-data-api
```



# Important Note

**Attention:** In the current version of the NHANES Data 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 Data API, check out the [documentation](https://github.com/kkrusere/NHANES-Data-API/blob/main/docs/index.md).

## 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](https://github.com/kkrusere/NHANES-Data-API/blob/main/LICENSE) file for details.
Binary file added dist/NHANES-DATA-API-0.1.0.tar.gz
Binary file not shown.
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"numpy",
"pandas",
],
package_data={'': ['*.md']}, # Include all .md files
extras_require={
'test': ['pytest']
},
Expand Down

0 comments on commit d38badb

Please sign in to comment.