diff --git a/Makefile b/Makefile index 5569f9c9b..7728971c8 100644 --- a/Makefile +++ b/Makefile @@ -41,14 +41,19 @@ site-data: \ data/jobs \ data/revenue \ data/state_all_production.yml \ + data/national_all_production.yml \ data/federal_county_production \ data/state_disbursements.yml \ data/state_exports.yml \ + data/national_exports.yml \ data/state_federal_production.yml \ data/state_gdp.yml \ + data/national_gdp.yml \ data/state_revenues.yml \ + data/national_federal_production.yml \ data/top_state_products + data/state_all_production.yml: $(query) --format ndjson " \ SELECT \ @@ -64,6 +69,19 @@ data/state_all_production.yml: -c _meta/state_all_production.yml \ -o _$@ +data/national_all_production.yml: + $(query) --format ndjson " \ + SELECT \ + year, \ + product, product_name, units, \ + ROUND(volume) AS volume \ + FROM all_national_production \ + ORDER BY \ + product, year" \ + | $(nestly) --if ndjson \ + -c _meta/national_all_production.yml \ + -o _$@ + data/state_exports.yml: $(query) --format ndjson " \ SELECT \ @@ -79,6 +97,19 @@ data/state_exports.yml: -c _meta/state_exports.yml \ -o _$@ +data/national_exports.yml: + $(query) --format ndjson " \ + SELECT \ + 'US' AS state, year, \ + SUM(ROUND(value, 2)) AS dollars, \ + commodity \ + FROM exports \ + GROUP BY year, commodity" \ + | $(nestly) --if ndjson \ + -c _meta/national_exports.yml \ + -o _$@ + + data/state_gdp.yml: $(query) --format ndjson " \ SELECT \ @@ -93,10 +124,26 @@ data/state_gdp.yml: -c _meta/state_gdp.yml \ -o _$@ +data/national_gdp.yml: + $(query) --format ndjson " \ + SELECT \ + region AS state, year, \ + value AS dollars, \ + ROUND(share * 100, 2) as percent \ + FROM gdp \ + WHERE \ + region == 'US' \ + ORDER BY state, year" \ + | $(nestly) --if ndjson \ + -c _meta/state_gdp.yml \ + -o _$@ + data/jobs: \ data/state_jobs.yml \ + data/national_jobs.yml \ data/county_jobs \ - data/state_self_employment.yml + data/state_self_employment.yml \ + data/national_self_employment.yml data/state_jobs.yml: $(query) --format ndjson " \ @@ -113,6 +160,20 @@ data/state_jobs.yml: -c _meta/state_jobs.yml \ -o _$@ +data/national_jobs.yml: + $(query) --format ndjson " \ + SELECT \ + region_id AS state, year, \ + extractive_jobs AS jobs, \ + ROUND(percent, 2) AS percent \ + FROM national_bls_employment \ + WHERE \ + region_id IS NOT NULL \ + ORDER BY state, year" \ + | $(nestly) --if ndjson \ + -c _meta/national_jobs.yml \ + -o _$@ + data/county_jobs: $(query) --format ndjson " \ SELECT \ @@ -139,16 +200,35 @@ data/state_self_employment.yml: ROUND(share, 2) AS percent \ FROM self_employment \ WHERE \ - region IS NOT NULL \ + region IS NOT NULL AND \ + region != 'US' \ + ORDER BY state, year" \ + | $(nestly) --if ndjson \ + -c _meta/state_jobs.yml \ + -o _$@ + +data/national_self_employment.yml: + $(query) --format ndjson " \ + SELECT \ + region AS state, year, \ + jobs, \ + ROUND(share, 2) AS percent \ + FROM self_employment \ + WHERE \ + region IS NOT NULL AND \ + region == 'US' \ ORDER BY state, year" \ | $(nestly) --if ndjson \ -c _meta/state_jobs.yml \ -o _$@ data/revenue: \ + data/national_revenues.yml \ data/state_revenues.yml \ data/top_state_products.yml \ - data/county_revenue + data/county_revenue \ + data/state_revenues_by_type.yml \ + data/national_revenues_by_type.yml data/county_revenue: $(query) --format ndjson " \ @@ -195,6 +275,19 @@ data/state_federal_production.yml: -c _meta/state_federal_production.yml \ -o _$@ + +data/national_federal_production.yml: + $(query) --format ndjson " \ + SELECT \ + product, product_name, units, year, \ + ROUND(volume) AS volume \ + FROM federal_national_production \ + ORDER BY \ + product, product_name, units, year" \ + | $(nestly) --if ndjson \ + -c _meta/national_federal_production.yml \ + -o _$@ + data/federal_county_production: $(query) --format ndjson " \ SELECT \ @@ -231,6 +324,19 @@ data/state_revenues.yml: -c _meta/state_revenues.yml \ -o _$@ +data/national_revenues.yml: + $(query) --format ndjson " \ + SELECT \ + commodity, year, \ + ROUND(revenue) AS revenue \ + FROM national_revenue \ + WHERE revenue != 0 \ + ORDER BY \ + commodity, year" \ + | $(nestly) --if ndjson \ + -c _meta/national_revenues.yml \ + -o _$@ + data/state_revenues_by_type.yml: $(query) --format ndjson " \ SELECT \ @@ -244,6 +350,19 @@ data/state_revenues_by_type.yml: -c _meta/state_revenues_by_type.yml \ -o _$@ +data/national_revenues_by_type.yml: + $(query) --format ndjson " \ + SELECT \ + commodity, revenue_type, year, \ + ROUND(revenue) AS revenue \ + FROM national_revenue_type \ + WHERE revenue IS NOT NULL \ + ORDER BY \ + revenue DESC, commodity, year" \ + | $(nestly) --if ndjson \ + -c _meta/national_revenues_by_type.yml \ + -o _$@ + data/top_state_products: # top N states for each product category in each year top=3 percent=20; \ diff --git a/_data/national_all_production.yml b/_data/national_all_production.yml new file mode 100644 index 000000000..0d2301b5f --- /dev/null +++ b/_data/national_all_production.yml @@ -0,0 +1,342 @@ +US: + products: + All Other Renewables: + name: All Other Renewables + units: kilowatt hours + volume: + '2004': + volume: 83068000 + '2005': + volume: 87332000 + '2006': + volume: 96525000 + '2007': + volume: 105241000 + '2008': + volume: 126099000 + '2009': + volume: 144280000 + '2010': + volume: 167176000 + '2011': + volume: 193982000 + '2012': + volume: 218335000 + '2013': + volume: 253508000 + Biomass (total): + name: Biomass (total) + units: kilowatt hours + volume: + '2004': + volume: 53538000 + '2005': + volume: 54277000 + '2006': + volume: 54858000 + '2007': + volume: 55538000 + '2008': + volume: 55034000 + '2009': + volume: 54497000 + '2010': + volume: 56088000 + '2011': + volume: 56669000 + '2012': + volume: 57624000 + '2013': + volume: 60858000 + Coal (short tons): + name: Coal + units: short tons + volume: + '2004': + volume: 782876381 + '2005': + volume: 789924343 + '2006': + volume: 822746951 + '2007': + volume: 811671980 + '2008': + volume: 826886692 + '2009': + volume: 769791014 + '2010': + volume: 783738438 + '2011': + volume: 791367375 + '2012': + volume: 41672 + '2013': + volume: 735700696 + Conventional Hydroelectric: + name: Conventional Hydroelectric + units: kilowatt hours + volume: + '2004': + volume: 268420000 + '2005': + volume: 270322000 + '2006': + volume: 289247000 + '2007': + volume: 247507000 + '2008': + volume: 254830000 + '2009': + volume: 273448000 + '2010': + volume: 260202000 + '2011': + volume: 319354000 + '2012': + volume: 276236000 + '2013': + volume: 268565000 + Geothermal: + name: Geothermal + units: kilowatt hours + volume: + '2004': + volume: 14811000 + '2005': + volume: 14693000 + '2006': + volume: 14568000 + '2007': + volume: 14638000 + '2008': + volume: 14840000 + '2009': + volume: 15009000 + '2010': + volume: 15220000 + '2011': + volume: 15315000 + '2012': + volume: 15563000 + '2013': + volume: 15776000 + Natural Gas (mcf): + name: Natural Gas + units: mcf + volume: + '1967': + volume: 339601000 + '1968': + volume: 329318000 + '1969': + volume: 311458000 + '1970': + volume: 296347000 + '1971': + volume: 254494000 + '1972': + volume: 254850000 + '1973': + volume: 290023000 + '1974': + volume: 328059000 + '1975': + volume: 361345000 + '1976': + volume: 390005000 + '1977': + volume: 430634000 + '1978': + volume: 540769000 + '1979': + volume: 589730000 + '1980': + volume: 625570000 + '1981': + volume: 652159000 + '1982': + volume: 627062000 + '1983': + volume: 578059000 + '1984': + volume: 622619000 + '1985': + volume: 623741000 + '1986': + volume: 642125000 + '1987': + volume: 673939000 + '1988': + volume: 705483000 + '1989': + volume: 680944000 + '1990': + volume: 701729000 + '1991': + volume: 741807000 + '1992': + volume: 929054000 + '1993': + volume: 971707000 + '1994': + volume: 1098871000 + '1995': + volume: 1109696000 + '1996': + volume: 1133459000 + '1997': + volume: 1049920000 + '1998': + volume: 1024792000 + '1999': + volume: 1017176000 + '2000': + volume: 1012019000 + '2001': + volume: 1014148000 + '2002': + volume: 1036154000 + '2003': + volume: 1063840000 + '2004': + volume: 23969678000 + '2005': + volume: 23456821000 + '2006': + volume: 23535019000 + '2007': + volume: 24663658000 + '2008': + volume: 25636255000 + '2009': + volume: 26056892000 + '2010': + volume: 26816086000 + '2011': + volume: 28479024000 + '2012': + volume: 29542312000 + '2013': + volume: 29522554000 + '2014': + volume: 633855000 + Oil (bbl): + name: Oil + units: bbl + volume: + '2004': + volume: 2315610 + '2005': + volume: 2200374 + '2006': + volume: 2120848 + '2007': + volume: 2111350 + '2008': + volume: 2075520 + '2009': + volume: 2186983 + '2010': + volume: 2213721 + '2011': + volume: 2258749 + '2012': + volume: 2558448 + '2013': + volume: 2903313 + Other biomass: + name: Other biomass + units: kilowatt hours + volume: + '2004': + volume: 15421000 + '2005': + volume: 15421000 + '2006': + volume: 16096000 + '2007': + volume: 16522000 + '2008': + volume: 17735000 + '2009': + volume: 18443000 + '2010': + volume: 18914000 + '2011': + volume: 19221000 + '2012': + volume: 19826000 + '2013': + volume: 20826000 + Solar: + name: Solar + units: kilowatt hours + volume: + '2004': + volume: 575000 + '2005': + volume: 551000 + '2006': + volume: 508000 + '2007': + volume: 612000 + '2008': + volume: 864000 + '2009': + volume: 891000 + '2010': + volume: 1211000 + '2011': + volume: 1818000 + '2012': + volume: 4326000 + '2013': + volume: 9032000 + Wind: + name: Wind + units: kilowatt hours + volume: + '2004': + volume: 14144000 + '2005': + volume: 17809000 + '2006': + volume: 26590000 + '2007': + volume: 34451000 + '2008': + volume: 55361000 + '2009': + volume: 73887000 + '2010': + volume: 94654000 + '2011': + volume: 120175000 + '2012': + volume: 140825000 + '2013': + volume: 167841000 + Wood and wood-derived fuels: + name: Wood and wood-derived fuels + units: kilowatt hours + volume: + '2004': + volume: 38114000 + '2005': + volume: 38855000 + '2006': + volume: 38762000 + '2007': + volume: 39011000 + '2008': + volume: 37302000 + '2009': + volume: 36048000 + '2010': + volume: 37172000 + '2011': + volume: 37447000 + '2012': + volume: 37803000 + '2013': + volume: 40028000 diff --git a/_data/national_exports.yml b/_data/national_exports.yml new file mode 100644 index 000000000..25395bb90 --- /dev/null +++ b/_data/national_exports.yml @@ -0,0 +1,74 @@ +US: + commodities: + All: + '2011': + dollars: 23305070000 + '2012': + dollars: 21819560000 + '2013': + dollars: 22152660000 + '2014': + dollars: 30453280000 + Coal: + '2011': + dollars: 13709490000 + '2012': + dollars: 12602820000 + '2013': + dollars: 9120670000 + '2014': + dollars: 7244110000 + Copper: + '2011': + dollars: 1791760000 + '2012': + dollars: 1966070000 + '2013': + dollars: 2302280000 + '2014': + dollars: 2938910000 + Gas: + '2011': + dollars: 5204630000 + '2012': + dollars: 4034040000 + '2013': + dollars: 5560110000 + '2014': + dollars: 7394190000 + Gold: + '2011': + dollars: 142120000 + '2012': + dollars: 107990000 + '2013': + dollars: 140290000 + '2014': + dollars: 139940000 + Iron: + '2011': + dollars: 977220000 + '2012': + dollars: 1175660000 + '2013': + dollars: 921470000 + '2014': + dollars: 808120000 + Oil: + '2011': + dollars: 1479850000 + '2012': + dollars: 1932980000 + '2013': + dollars: 4107840000 + '2014': + dollars: 11928010000 + Total: + '2011': + dollars: 1415583460000 + '2012': + dollars: 1476181340000 + '2013': + dollars: 1508249720000 + '2014': + dollars: 1547779500000 diff --git a/_data/national_federal_production.yml b/_data/national_federal_production.yml new file mode 100644 index 000000000..35b250588 --- /dev/null +++ b/_data/national_federal_production.yml @@ -0,0 +1,840 @@ +US: + products: + Brine Barrels (barrels): + name: Brine Barrels + units: barrels + volume: + '2006': + volume: 66862 + Clay (tons): + name: Clay + units: tons + volume: + '2014': + volume: 33520 + Coal (tons): + name: Coal + units: tons + volume: + '2005': + volume: 415417017 + '2006': + volume: 422759556 + '2007': + volume: 435839437 + '2008': + volume: 468615143 + '2009': + volume: 429263346 + '2010': + volume: 438489367 + '2011': + volume: 436025533 + '2012': + volume: 403187584 + '2013': + volume: 376686236 + '2014': + volume: 375266659 + Coal Bed Methane (mcf): + name: Coal Bed Methane + units: mcf + volume: + '2009': + volume: 0 + '2011': + volume: 0 + Condensate (bbl): + name: Condensate + units: bbl + volume: + '2004': + volume: 49873566 + '2005': + volume: 45647702 + '2006': + volume: 40624959 + '2007': + volume: 38242884 + '2008': + volume: 24196977 + '2009': + volume: 36528730 + '2010': + volume: 54195681 + '2011': + volume: 55564317 + '2012': + volume: 53579431 + '2013': + volume: 43376508 + Copper Concentrate (tons): + name: Copper Concentrate + units: tons + volume: + '2005': + volume: 13141 + '2006': + volume: 19002 + '2007': + volume: 10960 + '2008': + volume: 11909 + '2009': + volume: 8726 + '2010': + volume: 8974 + '2011': + volume: 8386 + '2012': + volume: 21424 + '2013': + volume: 15448 + '2014': + volume: 20282 + Drip or Scrubber Condensate (bbl): + name: Drip or Scrubber Condensate + units: bbl + volume: + '2004': + volume: 1318048 + '2005': + volume: 1254765 + '2006': + volume: 1002154 + '2007': + volume: 1341624 + '2008': + volume: 678091 + '2009': + volume: 1576234 + '2010': + volume: 1241033 + '2011': + volume: 876401 + '2012': + volume: 707690 + '2013': + volume: 549079 + Flash Gas (mcf): + name: Flash Gas + units: mcf + volume: + '2004': + volume: 3661223 + '2005': + volume: 2282838 + '2006': + volume: 2176629 + '2007': + volume: 2558551 + '2008': + volume: 1730238 + '2009': + volume: 2216943 + '2010': + volume: 4102677 + '2011': + volume: 2720891 + '2012': + volume: 1940972 + '2013': + volume: 1363853 + Fuel Gas (mcf): + name: Fuel Gas + units: mcf + volume: + '2004': + volume: 12873984 + '2005': + volume: 11277353 + '2006': + volume: 9855343 + '2007': + volume: 12576862 + '2008': + volume: 11641986 + '2009': + volume: 13520337 + '2010': + volume: 14257028 + '2011': + volume: 13482874 + '2012': + volume: 12950409 + '2013': + volume: 13564126 + Fuel Oil (bbl): + name: Fuel Oil + units: bbl + volume: + '2010': + volume: 5 + Gas (mcf): + name: Gas + units: mcf + volume: + '2005': + volume: 6512469360 + '2006': + volume: 6472023822 + '2007': + volume: 6525771643 + '2008': + volume: 6328776139 + '2009': + volume: 6531108933 + '2010': + volume: 6266529414 + '2011': + volume: 5766751056 + '2012': + volume: 5397876357 + '2013': + volume: 4967395174 + '2014': + volume: 4845632207 + Gas Lost - Flared or Vented (mcf): + name: Gas Lost - Flared or Vented + units: mcf + volume: + '2004': + volume: 238150 + '2005': + volume: 272721 + '2006': + volume: 55555 + '2007': + volume: 78957 + '2008': + volume: 54368 + '2009': + volume: 69138 + '2010': + volume: 136359 + '2011': + volume: 680256 + '2012': + volume: 501224 + '2013': + volume: 643531 + Gas Plant Products (gal): + name: Gas Plant Products + units: gal + volume: + '2004': + volume: 2626813397 + '2005': + volume: 2115107981 + '2006': + volume: 2253482516 + '2007': + volume: 2607907444 + '2008': + volume: 1938567949 + '2009': + volume: 2345589729 + '2010': + volume: 2550465839 + '2011': + volume: 2191416546 + '2012': + volume: 1984868139 + '2013': + volume: 1942896063 + Geothermal - Commercially Demineralized H2O (cgal): + name: Geothermal - Commercially Demineralized H2O + units: cgal + volume: + '2004': + volume: 16451 + 'Geothermal - Direct Use, Millions of Gallons': + name: Geothermal + units: 'Direct Use, Millions of Gallons' + volume: + '2011': + volume: 71606330 + '2012': + volume: 113448300 + '2013': + volume: 69920725 + '2014': + volume: 63624483 + 'Geothermal - Direct Utilization, Hundreds of Gallons': + name: Geothermal + units: 'Direct Utilization, Hundreds of Gallons' + volume: + '2005': + volume: 90021493 + '2006': + volume: 85859889 + '2007': + volume: 106272414 + '2008': + volume: 123838519 + '2009': + volume: 198988743 + '2010': + volume: 163346106 + '2011': + volume: 131014604 + '2012': + volume: 123103803 + '2013': + volume: 57238368 + '2014': + volume: 46536535 + 'Geothermal - Direct Utilization, Millions of BTUs': + name: Geothermal + units: 'Direct Utilization, Millions of BTUs' + volume: + '2005': + volume: 260242 + '2006': + volume: 238147 + '2007': + volume: 217500 + '2008': + volume: 219089 + '2009': + volume: 179171 + '2010': + volume: 224486 + '2011': + volume: 228011 + '2012': + volume: 271470 + '2013': + volume: 276337 + '2014': + volume: 243504 + 'Geothermal - Direct Utilization, Other (cgal)': + name: 'Geothermal - Direct Utilization, Other' + units: cgal + volume: + '2004': + volume: 16451 + 'Geothermal - Electrical Generation, Kilowatt Hours': + name: Geothermal + units: 'Electrical Generation, Kilowatt Hours' + volume: + '2005': + volume: 1670047947 + '2006': + volume: 1653821447 + '2007': + volume: 1678895823 + '2008': + volume: 1639893566 + '2009': + volume: 1815600792 + '2010': + volume: 2015118208 + '2011': + volume: 2004451294 + '2012': + volume: 2132181179 + '2013': + volume: 2372166723 + '2014': + volume: 2578672344 + 'Geothermal - Electrical Generation, Other': + name: Geothermal + units: 'Electrical Generation, Other' + volume: + '2005': + volume: 204030 + '2006': + volume: 227562 + '2007': + volume: 207155 + '2008': + volume: 237416 + '2009': + volume: 233954 + '2010': + volume: 223938 + '2011': + volume: 19883 + '2014': + volume: 691756 + 'Geothermal - Electrical Generation, Thousands of Pounds': + name: Geothermal + units: 'Electrical Generation, Thousands of Pounds' + volume: + '2005': + volume: 2343379430 + '2006': + volume: 2404278131 + '2007': + volume: 2097093994 + '2008': + volume: 2518754128 + '2009': + volume: 2875731710 + '2010': + volume: 2719032139 + '2011': + volume: 2603301430 + '2012': + volume: 2501855610 + '2013': + volume: 2362410880 + '2014': + volume: 2509148497 + Geothermal - sulfur: + name: Geothermal + units: sulfur + volume: + '2010': + volume: 4670 + '2011': + volume: 3470 + '2012': + volume: 2598 + '2013': + volume: 2448 + '2014': + volume: 2090 + Gilsonite (tons): + name: Gilsonite + units: tons + volume: + '2005': + volume: 8041 + '2006': + volume: 8776 + '2007': + volume: 10879 + '2008': + volume: 16957 + '2009': + volume: 13016 + '2010': + volume: 28082 + '2012': + volume: 35927 + Inlet Scrubber (bbl): + name: Inlet Scrubber + units: bbl + volume: + '2004': + volume: 32219 + '2005': + volume: 15131 + '2006': + volume: 13206 + '2007': + volume: 36944 + '2008': + volume: 71604 + '2009': + volume: 104204 + '2010': + volume: 203980 + '2011': + volume: 183177 + '2012': + volume: 183797 + '2013': + volume: 256589 + Langbeinite (tons): + name: Langbeinite + units: tons + volume: + '2005': + volume: 551675 + '2006': + volume: 734349 + '2007': + volume: 966101 + '2008': + volume: 974982 + '2009': + volume: 648073 + '2010': + volume: 830346 + '2011': + volume: 745606 + '2012': + volume: 859349 + '2013': + volume: 707765 + '2014': + volume: 363289 + Lead Concentrate (tons): + name: Lead Concentrate + units: tons + volume: + '2005': + volume: 207576 + '2006': + volume: 223123 + '2007': + volume: 221198 + '2008': + volume: 203433 + '2009': + volume: 194150 + '2010': + volume: 184361 + '2011': + volume: 176582 + '2012': + volume: 155035 + '2013': + volume: 145983 + '2014': + volume: 143272 + Muriate Of Potash-Granular (tons): + name: Muriate Of Potash-Granular + units: tons + volume: + '2005': + volume: 424981 + '2006': + volume: 327424 + '2007': + volume: 429446 + '2008': + volume: 398253 + '2009': + volume: 233928 + '2010': + volume: 364751 + '2011': + volume: 454506 + '2012': + volume: 424920 + '2013': + volume: 342439 + '2014': + volume: 467320 + Muriate Of Potash-Standard (tons): + name: Muriate Of Potash-Standard + units: tons + volume: + '2005': + volume: 476837 + '2006': + volume: 469892 + '2007': + volume: 251708 + '2008': + volume: 177001 + '2009': + volume: 112839 + '2010': + volume: 155054 + '2011': + volume: 170449 + '2012': + volume: 146453 + '2013': + volume: 132492 + '2014': + volume: 127433 + Oil (bbl): + name: Oil + units: bbl + volume: + '2004': + volume: 521460114 + '2005': + volume: 1059024393 + '2006': + volume: 1082083967 + '2007': + volume: 1075087920 + '2008': + volume: 984586232 + '2009': + volume: 1287691444 + '2010': + volume: 1256560882 + '2011': + volume: 1087673333 + '2012': + volume: 1055404614 + '2013': + volume: 1061650261 + '2014': + volume: 696431298 + Other Liquid Hydrocarbons (bbl): + name: Other Liquid Hydrocarbons + units: bbl + volume: + '2004': + volume: 16766 + '2005': + volume: 9748 + '2006': + volume: 114982 + '2007': + volume: 12140 + '2008': + volume: 6963 + '2009': + volume: 5469 + '2010': + volume: 6298 + '2011': + volume: 6703 + '2012': + volume: 7622 + '2013': + volume: 6481 + Phosphate Raw Ore (tons): + name: Phosphate Raw Ore + units: tons + volume: + '2005': + volume: 2621832 + '2006': + volume: 2381392 + '2007': + volume: 2324385 + '2008': + volume: 2424258 + '2009': + volume: 3423741 + '2010': + volume: 3523585 + '2011': + volume: 4690032 + '2012': + volume: 4467766 + '2013': + volume: 4960123 + '2014': + volume: 5777094 + Potash (tons): + name: Potash + units: tons + volume: + '2006': + volume: 492294 + Processed (Residue) Gas (mcf): + name: Processed (Residue) Gas + units: mcf + volume: + '2004': + volume: 1876029499 + '2005': + volume: 1660488229 + '2006': + volume: 2027795745 + '2007': + volume: 2021941463 + '2008': + volume: 1501813333 + '2009': + volume: 1598803423 + '2010': + volume: 1410921296 + '2011': + volume: 1182507185 + '2012': + volume: 957299037 + '2013': + volume: 849852684 + Purge Liquor (tons- equivalent): + name: Purge Liquor + units: tons- equivalent + volume: + '2005': + volume: 61925 + '2006': + volume: 69814 + '2007': + volume: 97711 + '2008': + volume: 116333 + '2009': + volume: 118021 + '2010': + volume: 104405 + '2011': + volume: 88407 + '2012': + volume: 73594 + '2013': + volume: 88213 + '2014': + volume: 91878 + Quartz Crystal (tickets/pounds): + name: Quartz Crystal + units: tickets/pounds + volume: + '2005': + volume: 8065 + '2006': + volume: 6350 + '2007': + volume: 2400 + Salt (ton): + name: Salt + units: ton + volume: + '2004': + volume: 33299 + '2005': + volume: 28603 + '2006': + volume: 29258 + '2007': + volume: 24254 + '2008': + volume: 27030 + '2009': + volume: 28039 + '2010': + volume: 26761 + '2011': + volume: 19601 + '2012': + volume: 20410 + '2013': + volume: 26546 + Salt (tons): + name: Salt + units: tons + volume: + '2008': + volume: 314483 + '2009': + volume: 372956 + '2010': + volume: 434018 + '2011': + volume: 439367 + '2012': + volume: 409345 + '2013': + volume: 425125 + '2014': + volume: 457529 + Soda Ash (tons): + name: Soda Ash + units: tons + volume: + '2005': + volume: 3416753 + '2006': + volume: 4755332 + '2007': + volume: 5662599 + '2008': + volume: 7069757 + '2009': + volume: 5545300 + '2010': + volume: 4990309 + '2011': + volume: 5705147 + '2012': + volume: 4740200 + '2013': + volume: 5232597 + '2014': + volume: 6075994 + Sodium Bi-Carbonate (tons): + name: Sodium Bi-Carbonate + units: tons + volume: + '2008': + volume: 102512 + '2010': + volume: 46904 + '2011': + volume: 34297 + '2012': + volume: 69262 + '2013': + volume: 71539 + '2014': + volume: 107022 + Sodium Sesquicarbonate: + name: Sodium Sesquicarbonate + units: null + volume: + '2013': + volume: 121115 + Sulfur (lton): + name: Sulfur + units: lton + volume: + '2004': + volume: 13639 + '2005': + volume: 9818 + '2006': + volume: 8236 + '2007': + volume: 6793 + '2008': + volume: 5109 + '2009': + volume: 3852 + '2010': + volume: 4418 + '2011': + volume: 3436 + '2012': + volume: 2664 + '2013': + volume: 2969 + Trona Ore (tons): + name: Trona Ore + units: tons + volume: + '2009': + volume: 139699 + Unprocessed (Wet) Gas (mcf): + name: Unprocessed (Wet) Gas + units: mcf + volume: + '2004': + volume: 2064890440 + '2005': + volume: 1605399447 + '2006': + volume: 934107146 + '2007': + volume: 771255045 + '2008': + volume: 815310402 + '2009': + volume: 826981296 + '2010': + volume: 679937095 + '2011': + volume: 505468788 + '2012': + volume: 432732435 + '2013': + volume: 333762380 + Zinc Concentrate (tons): + name: Zinc Concentrate + units: tons + volume: + '2005': + volume: 49449 + '2006': + volume: 54880 + '2007': + volume: 55968 + '2008': + volume: 45452 + '2009': + volume: 50276 + '2010': + volume: 43522 + '2011': + volume: 43763 + '2012': + volume: 32595 + '2013': + volume: 40418 + '2014': + volume: 44651 diff --git a/_data/national_gdp.yml b/_data/national_gdp.yml new file mode 100644 index 000000000..3e4ee40cd --- /dev/null +++ b/_data/national_gdp.yml @@ -0,0 +1,31 @@ +US: + '2004': + dollars: 167561000000 + percent: 1.37 + '2005': + dollars: 226646000000 + percent: 1.74 + '2006': + dollars: 273405000000 + percent: 1.98 + '2007': + dollars: 314018000000 + percent: 2.18 + '2008': + dollars: 401457000000 + percent: 2.74 + '2009': + dollars: 290349000000 + percent: 2.03 + '2010': + dollars: 331720000000 + percent: 2.23 + '2011': + dollars: 398632000000 + percent: 2.59 + '2012': + dollars: 406690000000 + percent: 2.53 + '2013': + dollars: 439398000000 + percent: 2.64 diff --git a/_data/national_jobs.yml b/_data/national_jobs.yml new file mode 100644 index 000000000..dc0eedee1 --- /dev/null +++ b/_data/national_jobs.yml @@ -0,0 +1,31 @@ +US: + '2004': + count: 956368 + percent: 0.14 + '2005': + count: 1030023 + percent: 0.3 + '2006': + count: 1140323 + percent: 0.73 + '2007': + count: 1225175 + percent: 1.59 + '2008': + count: 1320673 + percent: 0.22 + '2009': + count: 1191163 + percent: 0.24 + '2010': + count: 1210297 + percent: 0.23 + '2011': + count: 1364397 + percent: 0.2 + '2012': + count: 1484054 + percent: 0.14 + '2013': + count: 1516630 + percent: 0.09 diff --git a/_data/national_revenues.yml b/_data/national_revenues.yml new file mode 100644 index 000000000..c910359c8 --- /dev/null +++ b/_data/national_revenues.yml @@ -0,0 +1,428 @@ +US: + commodities: + All: + '2004': + revenue: 5611522603 + '2005': + revenue: 6297713331 + '2006': + revenue: 12478363213 + '2007': + revenue: 11337244256 + '2008': + revenue: 22918051782 + '2009': + revenue: 7858826222 + '2010': + revenue: 10452095816 + '2011': + revenue: 11065905356 + '2012': + revenue: 12635093516 + '2013': + revenue: 12286052204 + '2014': + revenue: 4834017057 + '2015': + revenue: 3309997086 + Asphalt: + '2006': + revenue: 959 + '2014': + revenue: 1063 + '2015': + revenue: 564 + CO2: + '2006': + revenue: 25001687 + '2007': + revenue: 23659941 + '2008': + revenue: 59072221 + '2009': + revenue: 39636042 + '2010': + revenue: 43930385 + '2011': + revenue: 51378771 + '2012': + revenue: 62850534 + '2013': + revenue: 63526560 + '2014': + revenue: 80343973 + '2015': + revenue: 56964833 + Clay: + '2006': + revenue: 23814 + '2007': + revenue: 18975 + '2008': + revenue: 5003 + '2009': + revenue: 2272 + '2010': + revenue: 3073 + '2011': + revenue: 4537 + '2012': + revenue: 4641 + '2013': + revenue: 5401 + '2014': + revenue: 752 + '2015': + revenue: 8700 + Coal: + '2006': + revenue: 949641548 + '2007': + revenue: 938325098 + '2008': + revenue: 1141532451 + '2009': + revenue: 1082335451 + '2010': + revenue: 876925635 + '2011': + revenue: 1039089740 + '2012': + revenue: 1347964510 + '2013': + revenue: 1132814965 + '2014': + revenue: 1174385193 + '2015': + revenue: 1131925660 + Gas: + '2004': + revenue: 3362250638 + '2005': + revenue: 3274732082 + '2006': + revenue: 5101865322 + '2007': + revenue: 4305335935 + '2008': + revenue: 5400261550 + '2009': + revenue: 1885511837 + '2010': + revenue: 2472307040 + '2011': + revenue: 2189563164 + '2012': + revenue: 1299314399 + '2013': + revenue: 1577715131 + '2014': + revenue: 1207187421 + '2015': + revenue: 770402891 + Geothermal: + '2006': + revenue: 13515483 + '2007': + revenue: 38221377 + '2008': + revenue: 44372990 + '2009': + revenue: 31193088 + '2010': + revenue: 18544418 + '2011': + revenue: 15734620 + '2012': + revenue: 15104889 + '2013': + revenue: 15142714 + '2014': + revenue: 17183462 + '2015': + revenue: 14014431 + Gilsonite: + '2006': + revenue: 511875 + '2007': + revenue: 618914 + '2008': + revenue: 1219362 + '2009': + revenue: 1443917 + '2010': + revenue: 1886154 + '2011': + revenue: 2371521 + '2012': + revenue: 3404833 + '2013': + revenue: 2903028 + '2014': + revenue: 1955180 + '2015': + revenue: 1958982 + Gold: + '2015': + revenue: 2604 + Hardrock: + '2006': + revenue: 10593171 + '2007': + revenue: 17888801 + '2008': + revenue: 14313212 + '2009': + revenue: 9517115 + '2010': + revenue: 13442595 + '2011': + revenue: 15017955 + '2012': + revenue: 11735662 + '2013': + revenue: 9500111 + '2014': + revenue: 10882632 + '2015': + revenue: 9306593 + Helium: + '2006': + revenue: -292 + '2009': + revenue: 20 + '2011': + revenue: 91 + '2012': + revenue: 59 + '2013': + revenue: 67 + '2014': + revenue: 2934 + '2015': + revenue: -2586 + Limestone: + '2010': + revenue: 40 + NGL: + '2004': + revenue: 159390793 + '2005': + revenue: 143636581 + '2006': + revenue: 299960611 + '2007': + revenue: 405014636 + '2008': + revenue: 547977102 + '2009': + revenue: 234336583 + '2010': + revenue: 428203930 + '2011': + revenue: 569815462 + '2012': + revenue: 550660970 + '2013': + revenue: 398222783 + '2014': + revenue: 292434474 + '2015': + revenue: 105674140 + Oil: + '2004': + revenue: 1320336533 + '2005': + revenue: 2272041168 + '2006': + revenue: 4270619156 + '2007': + revenue: 4413664501 + '2008': + revenue: 5831616022 + '2009': + revenue: 2964214261 + '2010': + revenue: 5103466729 + '2011': + revenue: 6425005851 + '2012': + revenue: 6639332936 + '2013': + revenue: 7037172026 + '2014': + revenue: 1674358514 + '2015': + revenue: 1065584809 + Oil & Gas: + '2004': + revenue: 769509547 + '2005': + revenue: 607267152 + '2006': + revenue: 1391382852 + '2007': + revenue: 816781379 + '2008': + revenue: 9380794023 + '2009': + revenue: 1296937234 + '2010': + revenue: 1180607365 + '2011': + revenue: 284875866 + '2012': + revenue: 2280157620 + '2013': + revenue: 1698554250 + Oil & Gas (Non-Royalty): + '2006': + revenue: 375703218 + '2007': + revenue: 351526660 + '2008': + revenue: 459309910 + '2009': + revenue: 258539583 + '2010': + revenue: 265135786 + '2011': + revenue: 386970604 + '2012': + revenue: 328681125 + '2013': + revenue: 259554966 + '2014': + revenue: 297508570 + '2015': + revenue: 83809303 + Other: + '2004': + revenue: 35093 + '2005': + revenue: 36348 + '2006': + revenue: 19484 + '2007': + revenue: 36496 + '2008': + revenue: 275571 + '2009': + revenue: 22142 + '2010': + revenue: 3242 + '2011': + revenue: 67362 + '2012': + revenue: 53821 + '2013': + revenue: 24566 + Phosphate: + '2006': + revenue: 2197900 + '2007': + revenue: 2354490 + '2008': + revenue: 2659407 + '2009': + revenue: 3716662 + '2010': + revenue: 9307087 + '2011': + revenue: 9984670 + '2012': + revenue: 12553581 + '2013': + revenue: 10243384 + '2014': + revenue: 11426979 + '2015': + revenue: 10659910 + Potassium: + '2006': + revenue: 6608669 + '2007': + revenue: 9584637 + '2008': + revenue: 12609103 + '2009': + revenue: 26924353 + '2010': + revenue: 20543843 + '2011': + revenue: 43279069 + '2012': + revenue: 28897879 + '2013': + revenue: 21764974 + '2014': + revenue: 21601514 + '2015': + revenue: 15396376 + Sand & Gravel: + '2006': + revenue: 2 + '2008': + revenue: 321 + Sodium: + '2006': + revenue: 30698647 + '2007': + revenue: 14119826 + '2008': + revenue: 20866516 + '2009': + revenue: 17329961 + '2010': + revenue: 17264387 + '2011': + revenue: 30721009 + '2012': + revenue: 52212606 + '2013': + revenue: 52602749 + '2014': + revenue: 44311409 + '2015': + revenue: 44536948 + Sulfur: + '2006': + revenue: 19106 + '2007': + revenue: 68087 + '2008': + revenue: 1159223 + '2009': + revenue: 7089649 + '2010': + revenue: 376857 + '2011': + revenue: 1889816 + '2012': + revenue: 2034607 + '2013': + revenue: 484293 + '2014': + revenue: 432988 + '2015': + revenue: -247072 + Tar Sands: + '2007': + revenue: 24503 + '2008': + revenue: 7795 + '2009': + revenue: 7732 + '2010': + revenue: 7732 + Wind: + '2009': + revenue: 68320 + '2010': + revenue: 139518 + '2011': + revenue: 135248 + '2012': + revenue: 128843 + '2013': + revenue: 5820234 diff --git a/_data/national_revenues_by_type.yml b/_data/national_revenues_by_type.yml new file mode 100644 index 000000000..db127af36 --- /dev/null +++ b/_data/national_revenues_by_type.yml @@ -0,0 +1,535 @@ +US: + All: + Royalties: + '2006': 3456863720 + '2007': 3304839383 + '2008': 4809129833 + '2009': 2653673161 + '2010': 3469269253 + '2011': 3757977162 + '2012': 3495494085 + '2013': 3660401655 + '2014': 4076482652 + '2015': 2762437610 + Bonus: + '2006': 715798949 + '2007': 562797134 + '2008': 821157426 + '2009': 606547172 + '2010': 282409009 + '2011': 559228195 + '2012': 826249758 + '2013': 642018442 + '2014': 678227593 + '2015': 542563694 + Other Revenues: + '2006': 20394863 + '2007': 100026562 + '2008': 43967772 + '2009': 10993424 + '2010': 52291534 + '2011': 56773161 + '2012': 26076849 + '2013': 43865771 + '2014': 40302293 + '2015': -25248213 + Rents: + '2006': 64430678 + '2007': 66132178 + '2008': 66119528 + '2009': 59724767 + '2010': 52213699 + '2011': 50526989 + '2012': 47605982 + '2013': 42817126 + '2014': 39004519 + '2015': 30243994 + Gas: + Royalties: + '2006': 2057372210 + '2007': 1724461705 + '2008': 2550413314 + '2009': 1104265864 + '2010': 1489234795 + '2011': 1370384179 + '2012': 856951118 + '2013': 1077316681 + '2014': 1207187230 + '2015': 770403200 + Other Revenues: + '2006': 418687 + '2007': 108362 + '2008': 51367 + '2009': 669271 + '2010': -11991 + '2011': -18418 + '2012': -26965 + '2013': -4659 + '2015': -309 + Bonus: + '2014': 217 + Rents: + '2011': -121 + '2014': -26 + Oil: + Royalties: + '2006': 638242149 + '2007': 730157486 + '2008': 1149263726 + '2009': 617699470 + '2010': 892926701 + '2011': 1166895255 + '2012': 1346704955 + '2013': 1510863188 + '2014': 1674356756 + '2015': 1065584567 + Other Revenues: + '2006': 18872 + '2007': 6771 + '2008': 24436 + '2009': 50000 + '2011': 11 + '2012': 17 + '2014': -118 + '2015': -742 + Rents: + '2006': 11947 + '2008': -101 + '2011': 1252 + '2012': 2180 + '2013': 1876 + '2014': 1876 + '2015': 984 + Coal: + Royalties: + '2006': 527570430 + '2007': 588401763 + '2008': 701526871 + '2009': 686005993 + '2010': 762387594 + '2011': 786437165 + '2012': 783938676 + '2013': 667732388 + '2014': 718149385 + '2015': 671453229 + Bonus: + '2006': 421996281 + '2007': 350736528 + '2008': 436111593 + '2009': 381630712 + '2010': 109259487 + '2011': 246422977 + '2012': 556656544 + '2013': 459929002 + '2014': 451349446 + '2015': 453264014 + Other Revenues: + '2006': -1198241 + '2007': -1900987 + '2008': 2612795 + '2009': 13421882 + '2010': 3927251 + '2011': 4913983 + '2012': 5984477 + '2013': 4042255 + '2014': 3598950 + '2015': 5861362 + Rents: + '2006': 1273078 + '2007': 1087794 + '2008': 1281193 + '2009': 1276865 + '2010': 1351303 + '2011': 1315615 + '2012': 1384813 + '2013': 1111320 + '2014': 1287412 + '2015': 1347056 + Oil & Gas (Non-Royalty): + Bonus: + '2006': 293793029 + '2007': 186921867 + '2008': 356264999 + '2009': 206905961 + '2010': 170368707 + '2011': 290653906 + '2012': 266386960 + '2013': 181488152 + '2014': 226416139 + '2015': 89299440 + Other Revenues: + '2006': 19465862 + '2007': 100860187 + '2008': 39590154 + '2009': -4220991 + '2010': 46998740 + '2011': 50562726 + '2012': 19066504 + '2013': 38944499 + '2014': 35665152 + '2015': -32497513 + Rents: + '2006': 62444327 + '2007': 63744606 + '2008': 63454757 + '2009': 55854613 + '2010': 47768339 + '2011': 45753972 + '2012': 43227661 + '2013': 39122315 + '2014': 35427279 + '2015': 27007375 + NGL: + Royalties: + '2006': 146421097 + '2007': 182649623 + '2008': 283494305 + '2009': 130518074 + '2010': 206665997 + '2011': 290644421 + '2012': 326348544 + '2013': 232375971 + '2014': 292399779 + '2015': 105676076 + Other Revenues: + '2006': 487459 + '2011': 156526 + '2012': 1899 + '2013': 6724 + '2014': 34695 + '2015': -1936 + CO2: + Royalties: + '2006': 25001687 + '2007': 23659941 + '2008': 59072221 + '2009': 39636042 + '2010': 43930385 + '2011': 51378771 + '2012': 62850534 + '2013': 63526560 + '2014': 80343973 + '2015': 56964833 + Sodium: + Royalties: + '2006': 30338265 + '2007': 13838472 + '2008': 20330894 + '2009': 17246935 + '2010': 16800054 + '2011': 30463110 + '2012': 52102693 + '2013': 52531090 + '2014': 43588249 + '2015': 44419086 + Other Revenues: + '2006': 384789 + '2007': 301467 + '2008': 579612 + '2009': 109278 + '2010': 436752 + '2011': 245569 + '2012': 82809 + '2013': 46055 + '2014': 279389 + '2015': 166213 + Bonus: + '2007': 120 + '2008': 120 + '2009': 1416 + '2010': 120 + '2011': 120 + '2012': -480 + '2014': 402000 + Rents: + '2006': -24407 + '2007': -20233 + '2008': -44111 + '2009': -27668 + '2010': 27461 + '2011': 12210 + '2012': 27585 + '2013': 25604 + '2014': 41772 + '2015': -48351 + Geothermal: + Bonus: + '2007': 25133059 + '2008': 27992464 + '2009': 17985323 + '2010': 2772303 + '2011': 432591 + '2012': 72138 + '2013': 96344 + '2014': 59792 + Royalties: + '2006': 12877997 + '2007': 11609793 + '2008': 14818317 + '2009': 10362146 + '2010': 12134426 + '2011': 11642243 + '2012': 11853111 + '2013': 12340834 + '2014': 14741490 + '2015': 11986017 + Rents: + '2006': 671552 + '2007': 1283538 + '2008': 1344698 + '2009': 2479143 + '2010': 3142709 + '2011': 3335137 + '2012': 2790681 + '2013': 2470779 + '2014': 2149057 + '2015': 1737839 + Other Revenues: + '2006': -34067 + '2007': 194987 + '2008': 217511 + '2009': 366476 + '2010': 494981 + '2011': 324649 + '2012': 388959 + '2013': 234757 + '2014': 233123 + '2015': 290575 + Potassium: + Royalties: + '2006': 6048746 + '2007': 9365797 + '2008': 11120158 + '2009': 26429261 + '2010': 20412132 + '2011': 21882113 + '2012': 26049717 + '2013': 20809161 + '2014': 21258547 + '2015': 14503261 + Bonus: + '2006': 9639 + '2007': 5560 + '2008': 787104 + '2009': 23760 + '2011': 20962777 + '2012': 2334568 + '2013': 504944 + Other Revenues: + '2006': 514353 + '2007': 213978 + '2008': 611722 + '2009': 365963 + '2010': 212036 + '2011': 320336 + '2012': 352092 + '2013': 373497 + '2014': 255590 + '2015': 692016 + Rents: + '2006': 35932 + '2007': -698 + '2008': 90119 + '2009': 105370 + '2010': -80326 + '2011': 113843 + '2012': 161502 + '2013': 77372 + '2014': 87377 + '2015': 201099 + Hardrock: + Royalties: + '2006': 10383392 + '2007': 17848022 + '2008': 14271329 + '2009': 9421813 + '2010': 13374535 + '2011': 14948351 + '2012': 11648849 + '2013': 9417991 + '2014': 10785321 + '2015': 9214709 + Other Revenues: + '2006': 191113 + '2007': 34337 + '2008': 63597 + '2009': 73029 + '2010': 66233 + '2011': 70944 + '2012': 74545 + '2013': 64058 + '2014': 86833 + '2015': 90868 + Rents: + '2006': 18666 + '2007': 6443 + '2008': -22861 + '2009': 22273 + '2010': 1827 + '2011': -1340 + '2012': 12239 + '2013': 18062 + '2014': 10478 + '2015': 1016 + Bonus: + '2008': 1147 + '2012': 30 + Phosphate: + Royalties: + '2006': 2065894 + '2007': 2152071 + '2008': 2486930 + '2009': 3566737 + '2010': 9143947 + '2011': 9056157 + '2012': 11601309 + '2013': 10103475 + '2014': 11278893 + '2015': 10518123 + Bonus: + '2010': 6892 + '2011': 755824 + '2012': 799998 + '2015': 240 + Other Revenues: + '2006': 135186 + '2007': 198512 + '2008': 171160 + '2009': 139841 + '2010': 162400 + '2011': 175281 + '2012': 149745 + '2013': 152251 + '2014': 144514 + '2015': 143279 + Rents: + '2006': -3180 + '2007': 3906 + '2008': 1317 + '2009': 10084 + '2010': -6152 + '2011': -2592 + '2012': 2529 + '2013': -12343 + '2014': 3572 + '2015': -1732 + Sulfur: + Royalties: + '2006': 19106 + '2007': 68087 + '2008': 1159223 + '2009': 7089649 + '2010': 376857 + '2011': 1889816 + '2012': 2034607 + '2013': 484293 + '2014': 432988 + '2015': -247072 + Gilsonite: + Royalties: + '2006': 499700 + '2007': 608424 + '2008': 1168799 + '2009': 1430142 + '2010': 1879371 + '2011': 2351729 + '2012': 3405727 + '2013': 2895810 + '2014': 1951015 + '2015': 1956057 + Other Revenues: + '2006': 10686 + '2007': 8363 + '2008': 44039 + '2009': 17732 + '2010': 4191 + '2011': 21093 + '2012': 2308 + '2013': 5391 + '2014': 5480 + '2015': 4868 + Rents: + '2006': 1490 + '2007': 2128 + '2008': 6524 + '2009': -3958 + '2010': 1093 + '2011': -1302 + '2012': -3202 + '2013': 1827 + '2014': -1316 + '2015': -1944 + Bonus: + '2010': 1500 + Tar Sands: + Rents: + '2007': 24380 + '2008': 7680 + '2009': 7732 + '2010': 7732 + Other Revenues: + '2007': 123 + '2008': 115 + Clay: + Royalties: + '2006': 23337 + '2007': 18199 + '2008': 3747 + '2009': 1016 + '2010': 2457 + '2011': 3761 + '2012': 4185 + '2013': 4145 + '2014': 6092 + '2015': 8110 + Other Revenues: + '2006': 164 + '2007': 462 + '2008': 942 + '2009': 942 + '2010': 462 + '2011': 462 + '2012': 462 + '2013': 942 + '2014': -2378 + '2015': 590 + Rents: + '2006': 314 + '2007': 314 + '2008': 314 + '2009': 314 + '2010': 154 + '2011': 314 + '2012': -6 + '2013': 314 + '2014': -2962 + Helium: + Royalties: + '2006': -292 + '2009': 20 + '2011': 91 + '2012': 59 + '2013': 67 + '2014': 2934 + '2015': -2586 + Gold: + Other Revenues: + '2015': 1953 + Rents: + '2015': 651 + Asphalt: + Other Revenues: + '2010': 480 + '2014': 1063 + '2015': 564 + Rents: + '2006': 959 + '2010': -480 + Sand & Gravel: + Other Revenues: + '2008': 321 + Royalties: + '2006': 2 + Limestone: + Rents: + '2010': 40 diff --git a/_data/national_self_employment.yml b/_data/national_self_employment.yml new file mode 100644 index 000000000..5ebc352da --- /dev/null +++ b/_data/national_self_employment.yml @@ -0,0 +1,31 @@ +US: + '2004': + count: 257400 + percent: 0.15 + '2005': + count: 275600 + percent: 0.16 + '2006': + count: 314200 + percent: 0.18 + '2007': + count: 354300 + percent: 0.2 + '2008': + count: 497200 + percent: 0.28 + '2009': + count: 487600 + percent: 0.28 + '2010': + count: 620000 + percent: 0.36 + '2011': + count: 518000 + percent: 0.29 + '2012': + count: 757200 + percent: 0.42 + '2013': + count: 797000 + percent: 0.44 diff --git a/_data/state_revenues.yml b/_data/state_revenues.yml index eccf36bf0..1cb81dd88 100644 --- a/_data/state_revenues.yml +++ b/_data/state_revenues.yml @@ -178,7 +178,7 @@ AK: revenue: 4752532 rank: 9 percent: 0.4 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 9019503 rank: 7 @@ -464,7 +464,7 @@ AL: revenue: 228079 rank: 16 percent: 0 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 236229 rank: 17 @@ -712,7 +712,7 @@ AR: revenue: 7 rank: 23 percent: 0 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 8420719 rank: 8 @@ -825,7 +825,7 @@ AZ: revenue: 2120 rank: 8 percent: 0 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 61946 rank: 23 @@ -1148,7 +1148,7 @@ CA: revenue: 76891907 rank: 4 percent: 7.2 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 3365075 rank: 11 @@ -1550,7 +1550,7 @@ CO: revenue: 33964251 rank: 6 percent: 3.2 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 33961391 rank: 4 @@ -1684,7 +1684,7 @@ FL: revenue: 80957 rank: 30 percent: 0 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 18187 rank: 27 @@ -1875,7 +1875,7 @@ ID: revenue: 446 rank: 7 percent: 0 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 2713 rank: 29 @@ -2054,7 +2054,7 @@ IL: revenue: 92971 rank: 19 percent: 0 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 175 rank: 31 @@ -2127,7 +2127,7 @@ IN: revenue: 17820 rank: 23 percent: 0 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2009': revenue: 116738 rank: 21 @@ -2351,7 +2351,7 @@ KS: revenue: 1233454 rank: 14 percent: 0.1 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 105828 rank: 21 @@ -2579,7 +2579,7 @@ KY: revenue: 56552 rank: 21 percent: 0 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 86375 rank: 22 @@ -2786,7 +2786,7 @@ LA: revenue: 1680764 rank: 12 percent: 0.2 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: -29171 rank: 32 @@ -2875,7 +2875,7 @@ MD: revenue: 18836 rank: 33 percent: 0 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 12295 rank: 28 @@ -3091,7 +3091,7 @@ MI: revenue: 134956 rank: 17 percent: 0 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 56867 rank: 24 @@ -3300,7 +3300,7 @@ MO: revenue: 9243923 rank: 1 percent: 99.3 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2007': revenue: 1680 rank: 30 @@ -3454,7 +3454,7 @@ MS: revenue: 2073195 rank: 11 percent: 0.2 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 1482800 rank: 14 @@ -3743,7 +3743,7 @@ MT: revenue: 20147570 rank: 7 percent: 1.9 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 4968945 rank: 10 @@ -4130,7 +4130,7 @@ ND: revenue: 135319895 rank: 3 percent: 12.7 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 16425256 rank: 5 @@ -4306,7 +4306,7 @@ NE: revenue: 114299 rank: 18 percent: 0 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 166312 rank: 19 @@ -4636,7 +4636,7 @@ NM: revenue: 477323946 rank: 1 percent: 44.8 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 119888753 rank: 1 @@ -4893,7 +4893,7 @@ NV: revenue: 1538343 rank: 13 percent: 0.1 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 10849612 rank: 6 @@ -4971,7 +4971,7 @@ NV: revenue: 15006 rank: 3 percent: 0.1 - 'Sand & Gravel': + Sand & Gravel: '2006': revenue: 2 rank: 1 @@ -5064,7 +5064,7 @@ NY: revenue: 1187 rank: 23 percent: 0 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 187 rank: 30 @@ -5240,7 +5240,7 @@ OH: revenue: 87549 rank: 20 percent: 0 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 44037 rank: 25 @@ -5510,7 +5510,7 @@ OK: revenue: 10429790 rank: 8 percent: 1 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 3103290 rank: 12 @@ -5635,7 +5635,7 @@ OR: revenue: 178259 rank: 4 percent: 1.3 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 1314905 rank: 15 @@ -5810,7 +5810,7 @@ PA: revenue: 7126 rank: 22 percent: 0 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 131016 rank: 20 @@ -6044,7 +6044,7 @@ SD: revenue: 403280 rank: 15 percent: 0 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 221904 rank: 18 @@ -6100,7 +6100,7 @@ TN: revenue: 132 rank: 38 percent: 0 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2007': revenue: 132 rank: 33 @@ -6279,7 +6279,7 @@ TX: revenue: 2215702 rank: 10 percent: 0.2 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 3040473 rank: 13 @@ -6710,7 +6710,7 @@ UT: revenue: 64882356 rank: 5 percent: 6.1 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 103022390 rank: 2 @@ -7021,7 +7021,7 @@ VA: revenue: 92 rank: 24 percent: 0 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 27894 rank: 26 @@ -7159,7 +7159,7 @@ WA: revenue: 8437 rank: 8 percent: 0.1 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 5612250 rank: 9 @@ -7298,7 +7298,7 @@ WV: revenue: 52 rank: 23 percent: 0 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 423508 rank: 16 @@ -7592,7 +7592,7 @@ WY: revenue: 232006287 rank: 2 percent: 21.8 - 'Oil & Gas (Non-Royalty)': + Oil & Gas (Non-Royalty): '2006': revenue: 49661557 rank: 3 diff --git a/_data/state_self_employment.yml b/_data/state_self_employment.yml index 48a37f9c9..dd3d1bee5 100644 --- a/_data/state_self_employment.yml +++ b/_data/state_self_employment.yml @@ -1362,37 +1362,6 @@ TX: '2013': count: 253790 percent: 1.63 -US: - '2004': - count: 257400 - percent: 0.15 - '2005': - count: 275600 - percent: 0.16 - '2006': - count: 314200 - percent: 0.18 - '2007': - count: 354300 - percent: 0.2 - '2008': - count: 497200 - percent: 0.28 - '2009': - count: 487600 - percent: 0.28 - '2010': - count: 620000 - percent: 0.36 - '2011': - count: 518000 - percent: 0.29 - '2012': - count: 757200 - percent: 0.42 - '2013': - count: 797000 - percent: 0.44 UT: '2004': count: 1662 diff --git a/_includes/location/key-gdp.html b/_includes/location/key-gdp.html index e867fd2b1..2ac5479fd 100644 --- a/_includes/location/key-gdp.html +++ b/_includes/location/key-gdp.html @@ -1,4 +1,9 @@ {% assign gdp = site.data.state_gdp[include.location_id] %} + +{% if is_national_page %} + {% assign gdp = site.data.national_gdp[include.location_id] %} +{% endif %} + {% assign gdp_dollars = gdp[include.year].dollars %} {% if gdp_dollars > 0 %} diff --git a/_includes/location/national-all-production.html b/_includes/location/national-all-production.html new file mode 100644 index 000000000..522ce0e43 --- /dev/null +++ b/_includes/location/national-all-production.html @@ -0,0 +1,67 @@ +{% assign all_products = site.data.national_all_production[state_id].products %} + +{% assign units_map = site.data.production_units %} + +
+ +

Natural resource production in {{ state_name }}

+ +

The federal government collects data about energy-related natural resources produced on federal, state, and privately owned property in {{ state_name }}.

+ +
+ + {% for product in all_products %} + {% assign product_slug = product[0] | slugify %} + {% assign product_name = product[1].name | default: product[0] %} + {% assign production_values = product[1].volume %} + {% assign volume = production_values[year].volume %} + {% assign units = product[1].units | downcase | default: 'units' %} + {% assign short_units = units_map[units].short | default 'units' %} + {% assign long_units = units_map[units].long | default 'units' %} + {% assign units_suffix = units_map[units].suffix | default '' %} + +
+ +

{{ product_name }}

+ +
+ + +
+ {{ year }} + {{ volume | default: 0 | intcomma }} +
+
+

+ {% if volume %}{{ volume | intcomma }} {{ long_units | term }} of + {% else %}No{% endif %} + {{ product_name | downcase | suffix:units_suffix }} was extracted in {{ state_name }} in {{ year }}. +

+ +
+ {% endfor %} + +
+ + + Data about energy production on all lands and waters comes from the Energy Information Administration + + +
diff --git a/_includes/location/national-exports.html b/_includes/location/national-exports.html new file mode 100644 index 000000000..d051aa9d6 --- /dev/null +++ b/_includes/location/national-exports.html @@ -0,0 +1,62 @@ +{% assign export_commodities = site.data.national_exports[state_id].commodities %} + +
+ +

Exports

+ +
+ +
+ + {% include location/key-exports.html %} + +
+ + {% for commodity in export_commodities %} + {% assign exports = commodity[1] %} + {% assign commodity_slug = commodity[0] | slugify %} + + {% if commodity[0] != "Total" and commodity[0] != "All" %} +
+ +

{{ commodity[0] }}

+ +
+ + +
+ {{ year }} + + ${{ exports[year].dollars | intcomma }} + +
+
+ +

+ +

+ + +
+ {% endif %} + {% endfor %} + +
+ + + Exports data comes from the U.S. Census Bureau + + +
diff --git a/_includes/location/national-federal-production.html b/_includes/location/national-federal-production.html new file mode 100644 index 000000000..578356f5c --- /dev/null +++ b/_includes/location/national-federal-production.html @@ -0,0 +1,90 @@ + +{% assign federal_products = site.data.national_federal_production[state_id].products %} + +{% assign federal_products_num = federal_products | size %} +{% assign units_map = site.data.production_units %} + +
+ +

Production on federal land in {{ state_name }}

+ + {% include location/national-ownership.html %} + +
+ +

Natural resources extracted on federal land

+ + {% if federal_products_num == 0 %} +

No natural resources were produced on federal land in {{ state_name }} in {{ year }}.

+ {% endif %} + +
+ + {% for product in federal_products %} + {% assign product_slug = product[0] | slugify %} + {% assign product_name = product[1].name | default: product[0] %} + {% assign production_values = product[1].volume %} + {% assign volume = production_values[year].volume %} + {% assign units = product[1].units | downcase | default: 'units' %} + {% assign short_units = units_map[units].short | default 'units' %} + {% assign long_units = units_map[units].long | default 'units' %} + {% assign units_suffix = units_map[units].suffix | default '' %} + {% assign units_title = units_map[units].title %} + +
+ +

+ {{ product_name }} + {% if units_title %} ({{ units_title }}){% endif %} +

+ +
+ +
+ +
+

+ {% if volume %} + {{ volume | intcomma }} {{ long_units | term }} + of {{ product_name | downcase | suffix:units_suffix }} were + {% else %} + No {{ product_name | downcase | suffix:units_suffix }} was + {% endif %} + produced on federal land in {{ state_name }} in {{ year }}. +

+
+ + {% if volume %} +
+ + +
+ {{ year }} + {{ volume | default: 0 | intcomma }} +
+
+ + {% endif %} +
+ + +
+ +
+ {% endfor %} + +
+ +
+ + + Federal production data comes from the Office of Natural Resources Revenue + + +
diff --git a/_includes/location/national-gdp.html b/_includes/location/national-gdp.html new file mode 100644 index 000000000..b923e398f --- /dev/null +++ b/_includes/location/national-gdp.html @@ -0,0 +1,75 @@ +{% assign gdp = site.data.national_gdp[state_id] %} + +
+ +

Gross Domestic Product (GDP)

+ +
+ +
+

Extractive industries accounted for + {% if gdp[year].dollars %} + {{ gdp[year].percent | percent }}% (or + ${{ gdp[year].dollars | intcomma }}) of {{ state_name }}'s GDP in {{ year }}. + {% else %} + The extractives industry did not contribute to {{ state_name }}'s GDP in {{ year }}. + {% endif %} +

+
+ + {% assign _metrics = 'dollars' | split: ' ' %} + {% for _metric in _metrics %} +
+

GDP ({{ _metric }})

+ +
+ + +
+ {{ year }} + {% assign _format = ',' %} + {% if _metric == 'dollars' %} + {% assign _format = '$,' %} + {% elsif _metric == 'percent' %} + {% assign _format = '%' %} + {% endif %} + + {% if _metric == 'dollars' %} + ${{ gdp[year].dollars | intcomma }} + {% elsif _metric == 'percent' %} + {{ gdp[year].percent | percent }}% + {% endif %} + +
+
+ + {% if forloop.last %} + + + {% endif %} + +
+ {% endfor %} + +
+ + + GDP data comes from the U.S. Bureau of Economic Analysis + + +
diff --git a/_includes/location/national-jobs.html b/_includes/location/national-jobs.html new file mode 100644 index 000000000..97637d5a2 --- /dev/null +++ b/_includes/location/national-jobs.html @@ -0,0 +1,125 @@ +{% assign jobs = site.data.national_jobs[state_id] %} + +{% assign self_employment_jobs = site.data.national_self_employment[state_id] %} + +{% assign jobs_count = jobs[year].count | default: 0 %} +{% assign jobs_percent = jobs[year].percent | default: 0 %} + +
+ +

Employment

+ +
+ +
+

Two kinds of data help represent the economic role of extractive industries in {{ state_name }}.

+

Wage and salary data describes the number of people employed in natural resource extraction that receive wages or salaries from companies.

+

In {{ year }}, + {% if jobs_count %} + there were + {{ jobs_count | intcomma }} + jobs in extractive industries that paid a wage or salary in + {{ state_name }}, or + {{ jobs_percent | percent }}% of state-wide employment. + {% else %} + there were no wage or salary jobs in the extractive industries. + {% endif %} +

+
+ + {% assign _metrics = 'count' | split: ' ' %} + {% for _metric in _metrics %} +
+ +

Number of jobs in extractives

+ +
+ + +
+ {{ year }} + + {% if _metric == 'count' %} + {{ jobs[year].jobs | intcomma }} + {% elsif _metric == 'percent' %} + {{ jobs[year].percent | percent }}% + {% endif %} + +
+
+ + {% if forloop.last %} +

+ +

+ + {% endif %} + +
+ {% endfor %} + +
+ + +
+
+ +

Self-employment data describes people who work in natural resource extraction, but don't receive wages or salaries because they own their own companies.

+ + + Employment data comes from the Bureau of Labor Statistics and the Bureau of Economic Analysis + + +
+ + {% assign _metrics = 'count' | split: ' ' %} + {% for _metric in _metrics %} +
+ +

Number of self-employment jobs in extractives

+ +
+ + +
+ {{ year }} + + {% if _metric == 'count' %} + {{ self_employment_jobs[year].jobs | intcomma }} + {% elsif _metric == 'percent' %} + {{ self_employment_jobs[year].percent | percent }}% + {% endif %} + +
+
+ +
+ {% endfor %} +
+ +
diff --git a/_includes/location/national-ownership.html b/_includes/location/national-ownership.html new file mode 100644 index 000000000..2a254e120 --- /dev/null +++ b/_includes/location/national-ownership.html @@ -0,0 +1,27 @@ +{% capture states_svg %}{{ site.baseurl }}/maps/states/all.svg{% endcapture %} + +
+
+

{{ state_name }}, {{ site.data.land_stats[state_id].federal_percent | percent }} percent of land is owned by the federal government.

+ +

When companies extract natural resources on federal land, they pay royalties, rents, bonuses, and other fees — much like they would to any landowner.

+

Companies also report more data about what resources are extracted on government-owned land than on private land. Learn more about natural resources and land ownership in the U.S.

+
+ + +
diff --git a/_includes/location/national-revenue.html b/_includes/location/national-revenue.html new file mode 100644 index 000000000..6593d4dbc --- /dev/null +++ b/_includes/location/national-revenue.html @@ -0,0 +1,92 @@ +{% assign revenue_commodities = site.data.national_revenues[state_id].commodities %} +{% assign revenue_total = revenue_commodities.All[year].revenue %} +{% assign units = '$' %} + +{% capture year_range %}[2006, 2015]{% endcapture %} + +
+ +

Revenue

+ +

Companies pay a wide range of fees, rates, and taxes to extract natural resources in the U.S. The types and amounts of payments differ, depending on who owns the natural resources. Payments are often called “revenue” because they represent revenue to the American public.

+ +

Revenue from federal land

+ +

Laws and policies govern how rights are awarded to companies and what they pay to extract natural resources on federal land. For details, read more about the processes for awarding rights and collecting revenue for each kind of resource: coal, oil and gas, renewable resources, and hardrock minerals.

+ + +

The federal government collects different kinds of fees at each phase of natural resource extraction. This chart shows how much federal revenue was collected in {{ year}} for production or potential production of natural resources on federal land in {{ state_name }}, broken down by phase of production.

+ +
+ + +
+ {% + include location/revenue-type-table.html + id='revenue-types' + location_id=state_id + location_name=state_name + year=year + %} +
+ + +
+ +
+ +

Revenue from resources extracted on federal land in {{ state_name }}

+ +

In {{ year }}, companies paid the federal government a total of ${{ revenue_total | intcomma }} to extract natural resources on federal land (or lease federal land for that purpose) in {{ state_name }}. Federal revenue data comes from the Office of Natural Resources Revenue +

+ + {% for commodity in revenue_commodities %} + {% assign revenue = commodity[1][year].revenue %} + {% assign commodity_name = commodity[0] | lookup: commodity_names %} + {% assign commodity_slug = commodity[0] | slugify %} + +
+ +

{{ commodity_name }}

+ +
+ {% assign annual_revenue = commodity[1] %} + + +
+ {{ year }} + ${{ annual_revenue[year].revenue | default: 0 | intcomma }} +
+
+

+ In {{ year }}, + {% if revenue %} + companies paid the federal government ${{ revenue | intcomma }} to extract + {% else %} + the federal government did not collect any revenue from extraction of + {% endif %} + {{ commodity_name | downcase }} on federal land in {{ state_name }}. +

+ +
+ + {% endfor %} + +
+ + diff --git a/_includes/location/revenue-process-table.html b/_includes/location/revenue-process-table.html index 6f71629d3..06e49334a 100644 --- a/_includes/location/revenue-process-table.html +++ b/_includes/location/revenue-process-table.html @@ -1,4 +1,9 @@ {% assign revenue_types = site.data.state_revenues_by_type[include.location_id] %} + +{% if national_page %} + {% assign revenue_types = site.data.national_revenues_by_type.US %} +{% endif %} + {% assign revenue_type_names = 'Bonus;Rents;Royalties;Other Revenues' | split: ';' %} {% assign commodity_groups = site.data.commodities.groups %} @@ -166,7 +171,7 @@ Electricity sales: 1.75% of gross proceeds for 10 years, then 3.5%
Arm's length sales (for 3rd-party generation): 10% of gross proceeds from sales contract multiplied by the lease royalty rate (usually 10%)
- Other: Different fee rates apply to pre-2005 leases and to direct use facilities + Other: Different fee rates apply to pre-2005 leases and to direct use facilities diff --git a/_includes/location/section-all-production.html b/_includes/location/section-all-production.html index 6123eeebc..ff73ef82b 100644 --- a/_includes/location/section-all-production.html +++ b/_includes/location/section-all-production.html @@ -1,4 +1,5 @@ {% assign all_products = site.data.state_all_production[state_id].products %} + {% assign units_map = site.data.production_units %}
diff --git a/_includes/location/section-federal-production.html b/_includes/location/section-federal-production.html index 6df14698e..af6af8a85 100644 --- a/_includes/location/section-federal-production.html +++ b/_includes/location/section-federal-production.html @@ -1,4 +1,9 @@ {% assign federal_products = site.data.state_federal_production[state_id].products %} + +{% if national_page %} + {% assign federal_products = site.data.national_federal_production[state_id].products %} +{% endif %} + {% assign federal_products_num = federal_products | size %} {% assign units_map = site.data.production_units %} diff --git a/_includes/state-map.html b/_includes/state-map.html index d7eb8b48b..efa023cd8 100644 --- a/_includes/state-map.html +++ b/_includes/state-map.html @@ -1,6 +1,7 @@ {% assign _viewbox = include.viewbox | default: site.data.viewboxes.all %} +{% assign _ownership = include.ownership %}
- + {% capture states_svg %}{{ site.baseurl }}/maps/states/all.svg{% endcapture %} diff --git a/_layouts/state-page.html b/_layouts/state-page.html index 3e267cd05..1995f6727 100644 --- a/_layouts/state-page.html +++ b/_layouts/state-page.html @@ -74,7 +74,7 @@

{{ state_name }}

{% include location/section-revenue.html %} - diff --git a/_meta/national_all_production.yml b/_meta/national_all_production.yml new file mode 100644 index 000000000..2a116b7f2 --- /dev/null +++ b/_meta/national_all_production.yml @@ -0,0 +1,8 @@ +US: + products: + '{product}': + name: '{product_name}' + units: '{units}' + volume: + '{year}': + volume: '{volume}' diff --git a/_meta/national_exports.yml b/_meta/national_exports.yml new file mode 100644 index 000000000..c80e3e641 --- /dev/null +++ b/_meta/national_exports.yml @@ -0,0 +1,5 @@ +'{state}': + commodities: + '{commodity}': + '{year}': + dollars: '{dollars}' diff --git a/_meta/national_federal_production.yml b/_meta/national_federal_production.yml new file mode 100644 index 000000000..2a116b7f2 --- /dev/null +++ b/_meta/national_federal_production.yml @@ -0,0 +1,8 @@ +US: + products: + '{product}': + name: '{product_name}' + units: '{units}' + volume: + '{year}': + volume: '{volume}' diff --git a/_meta/national_jobs.yml b/_meta/national_jobs.yml new file mode 100644 index 000000000..a19619bba --- /dev/null +++ b/_meta/national_jobs.yml @@ -0,0 +1,4 @@ +'{state}': + '{year}': + count: '{jobs}' + percent: '{percent}' diff --git a/_meta/national_revenues.yml b/_meta/national_revenues.yml new file mode 100644 index 000000000..2b44fb37d --- /dev/null +++ b/_meta/national_revenues.yml @@ -0,0 +1,5 @@ +US: + commodities: + '{commodity}': + '{year}': + revenue: '{revenue}' diff --git a/_meta/national_revenues_by_type.yml b/_meta/national_revenues_by_type.yml new file mode 100644 index 000000000..42e3e7a60 --- /dev/null +++ b/_meta/national_revenues_by_type.yml @@ -0,0 +1,4 @@ +US: + '{commodity}': + '{revenue_type}': + '{year}': '{revenue}' diff --git a/_sass/elements/_maps.scss b/_sass/elements/_maps.scss index a3ca9fbdb..e67b37977 100644 --- a/_sass/elements/_maps.scss +++ b/_sass/elements/_maps.scss @@ -84,4 +84,10 @@ svg.map { fill: $green-land; } } + + &.states.ownership { + .states.features { + fill: $green-land; + } + } } diff --git a/data.db b/data.db old mode 100644 new mode 100755 index 7fdd60b83..12aa757e1 Binary files a/data.db and b/data.db differ diff --git a/data/db/rollup-employment.sql b/data/db/rollup-employment.sql index 244a5cac1..155f554a7 100644 --- a/data/db/rollup-employment.sql +++ b/data/db/rollup-employment.sql @@ -6,3 +6,14 @@ UPDATE bls_employment SET LIMIT 1 ); +-- then create national employment data as an aggregate view +-- on regional bls_employment +DROP TABLE IF EXISTS national_bls_employment; +CREATE TABLE national_bls_employment AS + SELECT + year, 'US' as state, 'US' as region_id, SUM(extractive_jobs) AS extractive_jobs, + SUM(total_jobs) AS total_jobs, percent + FROM bls_employment + GROUP BY + year; + diff --git a/data/revenue/rollup.sql b/data/revenue/rollup.sql index 7bee828b7..e727150ca 100644 --- a/data/revenue/rollup.sql +++ b/data/revenue/rollup.sql @@ -99,6 +99,17 @@ CREATE TABLE national_revenue AS GROUP BY year, commodity; +-- then create national revenue type as an aggregate view +-- on state_revenue +DROP TABLE IF EXISTS national_revenue_type; +CREATE TABLE national_revenue_type AS + SELECT + year, commodity, SUM(revenue) AS revenue, revenue_type + FROM county_revenue + GROUP BY + year, commodity, revenue_type; + + -- create regional rankings views DROP TABLE IF EXISTS state_revenue_rank; CREATE TABLE state_revenue_rank AS diff --git a/states/index.html b/states/index.html index 793323fbd..daa670fe2 100644 --- a/states/index.html +++ b/states/index.html @@ -1,21 +1,107 @@ --- layout: default permalink: /states/ +id: US +title: Nationwide +national_page: true +nav_items: + - name: overview + title: Overview + - name: production + title: Production + subnav_items: + - name: federal-production + title: Federal land + - name: revenue + title: Revenue + subnav_items: + - name: federal-revenue + title: Federal land + - name: economic-impact + title: Economic impact + subnav_items: + - name: gdp + title: GDP + - name: employment + title: Jobs + - name: exports + title: Exports --- -
-

States

+{% assign national_page = page.national_page %} +{% assign state_name = page.title %} +{% assign state_id = page.id %} -
- {% - include state-map.html - states=site.data.state_revenues - value='products.All.2013.revenue' - href='%/' - %} -
State revenue (2013)
-
+{% assign state_ref = page.id | upcase %} +{% assign year = '2013' %} +{% assign oilgas = 'Oil & Gas (Non-Royalty)' %} +{% assign commodity_names = site.data.commodity_names %} +{% assign top_products = 10 %} +{% assign steps=9 %} + +
+
+ State Profiles + / +
+

{{ state_name }}

+ +
+ + +
+ {% include location/national-all-production.html %} + + {% include location/national-federal-production.html %} + +
+ + {% include location/national-revenue.html %} + + +
+

Economic Impact

+ + {% include location/national-gdp.html %} + + {% include location/national-jobs.html %} + + {% include location/national-exports.html %} + +
+ +
+ {% + include state-map.html + states=site.data.state_revenues + value='products.All.2013.revenue' + href='%/' + %} +
State revenue (2013)
+
+ + + + + + + + + + + + +
+ +
+ +
- + +