Skip to content

Add Commerce_EDA_USAspending dataset import to us_stats manifest, add schema enums and StatisticalVariables, add dataset entries to prod_dataset_info.textproto and data_sources.json, and add resolved MCF provenance definition. - #1335

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
copybara2git_982670020

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Add Commerce_EDA_USAspending dataset import to us_stats manifest, add schema enums and StatisticalVariables, add dataset entries to prod_dataset_info.textproto and data_sources.json, and add resolved MCF provenance definition.

  1. Upstream Source Migration / Data Acquisition by U.S. Economic Development Administration (EDA):

    • Ingests federal investment assistance awards by state and program dynamically from the official USAspending REST API (U.S. Department of the Treasury / U.S. Department of Commerce - EDA):
    • Ingests annual investment obligation amounts across 58 U.S. states, DC, and outlying territories from FY 2012 through Present across 11 EDA assistance programs and Total investments.
  2. Data Preprocessing & StatVar Alignment:

    • Added automated weekly pipeline under statvar_imports/commerce_eda_usaspending (PR #2171: Add new Commerce EDA USASpending import data#2171).
    • Maps EDA assistance programs to 12 StatisticalVariables (Amount_Investment and 11 program-specific Amount_Investment_ variables, including 4 new canonical InvestmentProgramEnum values: DistressedAreaRecompetePilotProgram, RegionalTechnologyAndInnovationHubs, STEMTalentChallenge, and ScienceAndResearchParkDevelopmentGrants).
    • Normalizes state/territory codes to standard Data Commons FIPS place DCIDs (geoId/{state_fips}) across all 50 states, DC, and 7 territories.
    • Enforces automated quality gates via 3 custom rules in validation_config.json (check_deleted_records_percent with 0.1% threshold, active_programs_freshness SQL validator across all 12 StatVars with total_svs = 12, and non_negative_investment_amounts).

@google-cla

google-cla Bot commented Sep 17, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@copybara-service
copybara-service Bot force-pushed the copybara2git_982670020 branch 18 times, most recently from 643c7ef to 23bee84 Compare September 25, 2026 11:25
… schema enums and StatisticalVariables, add dataset entries to prod_dataset_info.textproto and data_sources.json, and add resolved MCF provenance definition.

1. Upstream Source Migration / Data Acquisition by U.S. Economic Development Administration (EDA):
   - Ingests federal investment assistance awards by state and program dynamically from the official USAspending REST API (U.S. Department of the Treasury / U.S. Department of Commerce - EDA):
     * Landing Page: https://www.usaspending.gov/
     * API Endpoint: https://api.usaspending.gov/api/v2/search/spending_by_award/
   - Ingests annual investment obligation amounts across 58 U.S. states, DC, and outlying territories from FY 2012 through Present across 11 EDA assistance programs and Total investments.

2. Data Preprocessing & StatVar Alignment:
   - Added automated weekly pipeline under statvar_imports/commerce_eda_usaspending (PR #2171: datacommonsorg/data#2171).
   - Maps EDA assistance programs to 12 StatisticalVariables (Amount_Investment and 11 program-specific Amount_Investment_<Program> variables, including 4 new canonical InvestmentProgramEnum values: DistressedAreaRecompetePilotProgram, RegionalTechnologyAndInnovationHubs, STEMTalentChallenge, and ScienceAndResearchParkDevelopmentGrants).
   - Normalizes state/territory codes to standard Data Commons FIPS place DCIDs (geoId/{state_fips}) across all 50 states, DC, and 7 territories.
   - Enforces automated quality gates via 3 custom rules in validation_config.json (check_deleted_records_percent with 0.1% threshold, active_programs_freshness SQL validator across all 12 StatVars with total_svs = 12, and non_negative_investment_amounts).

PiperOrigin-RevId: 982670020
@copybara-service
copybara-service Bot force-pushed the copybara2git_982670020 branch from 23bee84 to 7b9a5bb Compare October 9, 2026 14:49
@copybara-service copybara-service Bot changed the title Add Commerce EDA USAspending dataset import and schema Add Commerce_EDA_USAspending dataset import to us_stats manifest, add schema enums and StatisticalVariables, add dataset entries to prod_dataset_info.textproto and data_sources.json, and add resolved MCF provenance definition. Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants