Update README.md
Browse files123---license: odc-by---123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108---license: odc-bylanguage:- entags:- politics- campaign-finance- elections- ideology- united-states- political-sciencepretty_name: DIME - Database on Ideology, Money in Politics, and Elections (Parquet)size_categories:- 100M<n<1B---# DIME: Database on Ideology, Money in Politics, and Elections (Parquet Format)This dataset is a Parquet conversion of the [Database on Ideology, Money in Politics, and Elections (DIME)](https://data.stanford.edu/dime) Public version 4.0, originally compiled by Adam Bonica at Stanford University.## Dataset DescriptionThe DIME database provides a comprehensive resource for the study of campaign finance and ideology in American politics. It contains over **850 million itemized political contributions** made by individuals and organizations to local, state, and federal elections from 1979 to 2024.### Key Features- **Data Processing:** Names, addresses, occupation, and employer titles have been cleaned and standardized- **Unique Identifiers:** Entity resolution assigns unique IDs for all donors, enabling tracking across election cycles and government levels- **Geocoding:** Records are geocoded and placed into congressional districts- **Ideological Measures:** Common-space DIME scores (CFscores) allow direct comparison of ideal points across political actors- **Candidate/Committee Data:** Includes fundraising statistics, election outcomes, gender, and other characteristics### Coverage- **Time Span:** 1979-2024- **Geographic Coverage:** United States (local, state, and federal elections)- **Records:** 850M+ itemized contributions, 156K+ candidates, 37K+ committees, 36M+ individual donors## Files| File | Description ||------|-------------|| `recipients/` | Candidate and committee CFscores (1979-2024) || `contributors/` | Individual donor and PAC CFscores (1979-2024) || `contributions/` | Itemized contribution records by election cycle |## Usage```pythonfrom datasets import load_dataset# Load a specific subsetdataset = load_dataset("Dustinhax/dime", data_dir="contributions")# Or use pandas/polars directlyimport polars as pldf = pl.read_parquet("hf://datasets/Dustinhax/dime/contributions/*.parquet")```## Source and LicenseThis dataset is derived from the publicly available DIME database and is released under the [Open Data Commons Attribution License (ODC-BY 1.0)](https://opendatacommons.org/licenses/by/1.0/).### You are free to:- **Share:** Copy, distribute, and use the data- **Create:** Produce works from the data- **Adapt:** Modify, transform, and build upon the data### As long as you:- **Attribute:** You must attribute any public use of the data in the manner specified below## CitationIf you use this dataset, please cite the original source:```bibtex@misc{bonica2024dime,author = {Bonica, Adam},title = {Database on Ideology, Money in Politics, and Elections: Public version 4.0},year = {2024},publisher = {Stanford University Libraries},address = {Stanford, CA},url = {https://data.stanford.edu/dime}}```**Text citation:**> Bonica, Adam. 2024. Database on Ideology, Money in Politics, and Elections: Public version 4.0 [Computer file]. Stanford, CA: Stanford University Libraries. https://data.stanford.edu/dime## Additional Notes- This Parquet conversion was created to improve query performance and reduce storage requirements compared to the original CSV format- The itemized contribution records in this dataset exclude records retrieved from the Center for Responsive Politics/NIMSP database (consistent with the public release)- For questions about the underlying data methodology, refer to the [DIME Codebook](https://bit.ly/dimeV4codebook)- For validation of the ideological measures, see the [validation results compendium](https://www.dropbox.com/s/2ntrx9auzifgujp/dime_validation.pdf?dl=1)## Contact- **Original Data:** Adam Bonica (bonica@stanford.edu)- **This Parquet Conversion:** [Your contact info]## Related Resources- [DIME Homepage](https://data.stanford.edu/dime)- [DIME PLUS](https://data.stanford.edu/dime-plus) - Extended data on Congressional activity- [Original Documentation](https://bit.ly/dimeV4codebook)
README.md+108-3