BEA Python Scripts Readme

Downloader Scripts (4 scripts - these actually download data)
bea_CAINC1_downloader.py - Downloads CAINC1 tables (Personal Income by County) via BEA API
bea_cainc1_metro_dl.py - Downloads CAINC1 data specifically for metro areas using BEA API
bea_cainc_all_stats.py - Downloads all CAINC-related statistics (multiple table types) via BEA API
bea_national_acct_download.py - Downloads national accounts data from BEA API (for the BEA_National directory)

Analysis/Utility Scripts (3 scripts - these analyze/explore data)
bea_catalog_generator.py - Generates a catalog/index of downloaded BEA CSV files with metadata
bea_explore.py - Explores BEA API parameters and available datasets
bea_explore_stats.py - Tests different tables to understand the 'Statistic' field values
bea_inventory_checker.py - Checks the archive against expected tables and creates comprehensive inventory reports

Support File
All the downloader scripts use the BEA API with an API key to fetch data and save it as CSV files.