{"ok": true, "database": "usaspending", "private": false, "path": "/usaspending", "size": 274432, "tables": [], "hidden_count": 0, "views": [{"name": "contracts", "private": false}, {"name": "recipient_year", "private": false}, {"name": "recipient_year_agency", "private": false}], "queries": [{"title": "One recipient's contracts, one row per award", "sql": "select\n  award_id_piid,\n  parent_award_id_piid,\n  arg_max(awarding_sub_agency_name, action_date) as awarding_sub_agency,\n  arg_max(prime_award_base_transaction_description, action_date) as description,\n  arg_max(naics_description, action_date) as naics,\n  arg_max(labor_standards, action_date) as service_contract_act,\n  arg_max(construction_wage_rate_requirements, action_date) as davis_bacon,\n  arg_max(primary_place_of_performance_state_code, action_date) as state,\n  min(period_of_performance_start_date) as start_date,\n  max(period_of_performance_current_end_date) as end_date,\n  count(*) as transactions,\n  sum(federal_action_obligation) as obligations\nfrom contracts\nwhere recipient_uei = :uei\ngroup by 1, 2\norder by obligations desc", "name": "awards_for_recipient", "private": false}, {"title": "Find recipient UEIs by name", "sql": "select\n  recipient_uei, recipient_name, doing_business_as, city, state,\n  first_fiscal_year, last_fiscal_year, obligations, top_naics\nfrom recipients\nwhere recipient_name ilike '%' || :name || '%'\n   or doing_business_as ilike '%' || :name || '%'\norder by obligations desc\nlimit 200", "name": "recipients_by_name", "private": false}, {"title": "Where one recipient performs its federal contracts", "sql": "select\n  primary_place_of_performance_state_code as state,\n  primary_place_of_performance_county_name as county,\n  primary_place_of_performance_city_name as city,\n  count(distinct award_id_piid) as awards,\n  sum(federal_action_obligation) as obligations,\n  min(action_date) as first_action,\n  max(action_date) as last_action\nfrom contracts\nwhere recipient_uei = :uei\ngroup by 1, 2, 3\norder by obligations desc", "name": "spending_by_place", "private": false}, {"title": "One recipient's obligations by fiscal year and agency", "sql": "select\n  action_date_fiscal_year as fiscal_year,\n  awarding_agency_name,\n  count(*) as transactions,\n  count(distinct award_id_piid) as awards,\n  sum(federal_action_obligation) as obligations,\n  sum(federal_action_obligation) filter (where labor_standards_code = 'Y' or labor_standards = 'Y') as service_contract_act_obligations,\n  sum(federal_action_obligation) filter (where construction_wage_rate_requirements_code = 'Y') as davis_bacon_obligations\nfrom contracts\nwhere recipient_uei = :uei\ngroup by 1, 2\norder by 1 desc, obligations desc", "name": "spending_by_year", "private": false}], "allow_execute_sql": true, "table_columns": {"contracts": [], "recipient_year": [], "recipient_year_agency": []}, "metadata": {"code_repository": "https://github.com/labordata/usaspending", "description_html": "<p>Every prime contract transaction the federal government has reported to FPDS since fiscal year 2008 \u2014 93 million rows, $11.2 trillion in obligations. A \"transaction\" is one contract action: the original award or any later modification, so a single contract appears once per action.</p>\n<p>For labor research the useful columns are the prevailing-wage determinations each award carries: <code>labor_standards</code> (Service Contract Act), <code>construction_wage_rate_requirements</code> (Davis-Bacon), and <code>materials_supplies_articles_equipment</code> (Walsh-Healey), alongside recipient name, parent, address, NAICS, place of performance, and the business-type flags (woman-owned, veteran-owned, nonprofit, university, and so on).</p>\n<p>Built monthly from USAspending's <a href=\"https://www.usaspending.gov/download_center/award_data_archive\">award data archive</a>; processing scripts live at <a href=\"https://github.com/labordata/usaspending\">labordata/usaspending</a>.</p>\n<p>Start with <a href=\"/usaspending/recipients\">recipients</a> \u2014 one row per contractor with lifetime totals \u2014 then use the canned queries below to see one recipient's spending by year, by place, or by award. <a href=\"/usaspending/contracts\">contracts</a> is the full 93-million-row transaction record.</p>\n<p>Two caveats. Recipients are identified by UEI, which is per SAM registration rather than per company \u2014 a large contractor has many (Boeing had 28 in FY2026), so roll up on <code>recipient_parent_uei</code> for company-level totals. And FY2015 has far more rows than FY2014 with no matching jump in dollars, because FPDS began capturing many low-value purchases then; row counts are not comparable across that boundary, obligation totals are.</p>\n<p>Download as Parquet: <a href=\"https://downloads.labordata.bunkum.us/usaspending/recipients.parquet\">recipients</a>, <a href=\"https://downloads.labordata.bunkum.us/usaspending/recipient_year.parquet\">recipient_year</a>, and one file per fiscal year for contracts, e.g. <a href=\"https://downloads.labordata.bunkum.us/usaspending/contracts/FY2024.parquet\">contracts/FY2024.parquet</a> (about 350 MB each, 6.5 GB for FY2008\u20132026).</p>", "keywords": "[\"federal contracting\", \"government procurement\", \"federal contractors\", \"Service Contract Act\", \"Davis-Bacon Act\", \"prevailing wage\", \"government spending\", \"FPDS\"]", "source": "USAspending.gov award data archive, processed", "source_description": "Prime federal contract award transactions reported to the Federal Procurement Data System, published through USAspending.gov.", "source_license": "https://creativecommons.org/publicdomain/mark/1.0/", "source_organization": "{\"@type\": \"Organization\", \"name\": \"U.S. Department of the Treasury, Bureau of the Fiscal Service\", \"url\": \"https://www.usaspending.gov/\"}", "source_url": "https://www.usaspending.gov/download_center/award_data_archive", "temporal_coverage": "2007-10-01/..", "title": "Federal Contract Awards (USAspending)"}}