Metadata-Version: 2.4
Name: usdatasets
Version: 0.1.0
Summary: A curated collection of datasets focused on the United States for data analysis, education, and research
Home-page: https://github.com/lightbluetitan/usdatasets-py
Author: Renzo Caceres Rossi
Author-email: arenzocaceresrossi@gmail.com
License: MIT License
        
        Copyright (c) 2026 Renzo Caceres Rossi
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Education
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author-email
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# usdatasets

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)

The `usdatasets` package provides a comprehensive collection of datasets focused on the United States, designed for data analysis, education, and research in Python. It includes extensive data on topics such as **crime and public safety, political history, economic indicators, education, public health, natural disasters, demographics, infrastructure, sports, and cultural events**.

The collection covers diverse data types, including historical political records, crime statistics, wage and income data, election results, mortality rates, presidential information, educational metrics, environmental incidents, asylum records, firefighter fatalities, terrorist activity, NFL statistics, stock market data, and entertainment industry records.

## Installation
You can install the `usdatasets` package from PyPI:
```bash
pip install usdatasets
```

## Usage
```python

import usdatasets as usd

# List all available datasets

datasets = usd.list_datasets()
print(datasets)

# Load a specific dataset

df = usd.load_dataset('crime_and_incarceration_by_state')
print(df.head())

```

## 📊 Some Available Datasets

### Economy & Finance
| Dataset | Description | Period |
|---------|-------------|---------|
| `wages_by_education` | Hourly wages by education level and gender | 1973-2022 |
| `college_school_wage` | Wage comparison: college vs high school | 1973-2022 |
| `counties_per_capita_income` | Counties by per capita income | Current |
| `google_stock_price` | Google/Alphabet stock price data | Historical |

The `usdatasets` library is released under the **MIT License**, allowing free use for both commercial and non-commercial purposes.
