Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

May-24-Data-Uploads #3405

Merged
merged 15 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 8 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ jobs:
- run:
command: |
ls -lart static/downloads
- run:
name: Overwrite robots.txt
command: |
cp ./static/robots-dev.txt ./static/robots.txt
- run:
name: Build gatsby
command: export GATSBY_HASURA_URI=https://hasura-sandbox.app.cloud.gov/v1/graphql && export CIRCLE_STAGE='nrrd-preview' && npm run build
Expand Down Expand Up @@ -242,7 +246,6 @@ jobs:
name: "list generated downloads"
command: |
ls -lart static/downloads
# rm static/downloads/downloads.json
- aws-s3/sync:
arguments: |
aws-access-key-id: NPS_AWS_ACCESS_KEY
Expand All @@ -255,6 +258,10 @@ jobs:
command: |
ls -lart static/downloads
cat static/downloads/downloads.json
- run:
name: Overwrite robots.txt
command: |
cp ./static/robots-dev.txt ./static/robots.txt
- run:
name: Build gatsby
command: export GATSBY_HASURA_URI=https://hasura-dev.app.cloud.gov/v1/graphql && npm run build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ databaseChangeLog:
- sql:
dbms: 'postgresql'
sql: |
TRUNCATE TABLE fiscal_year_production_elt
TRUNCATE TABLE calendar_year_production_elt
- loadData:
tableName: calendar_year_production_elt
file: '../static/csv/production/calendar_year_production.csv'
Expand Down
2 changes: 1 addition & 1 deletion database/changelog/changelog-data/production-monthly.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
databaseChangeLog:
- changeSet:
id: production-monthly-23-December
id: production-monthly-24-january
author: Christine Thomas
changes:
- sql:
Expand Down
4 changes: 2 additions & 2 deletions database/changelog/changelog-data/revenue.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
databaseChangeLog:
- changeSet:
id: revenue-24-mar
id: revenue-24-mapr
author: Christine Thomas
changes:
- sql:
Expand All @@ -9,7 +9,7 @@ databaseChangeLog:
TRUNCATE TABLE monthly_revenue_elt
- loadData:
tableName: monthly_revenue_elt
file: '../static/csv/revenue/March 2024 Revenue for Portal_csv.csv'
file: '../static/csv/revenue/April 2024 Revenue for Portal_csv.csv'
quotchar: '""'
columns:
- column:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ databaseChangeLog:
- changeSet:
id: refactor-production-cy-functions
author: Jeff Schwartz
runOnChange: true
changes:
- sqlFile:
path: src/functions/ignore_empty_production_cy.sql
Expand Down
2 changes: 2 additions & 0 deletions database/changelog/changelog-root.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ databaseChangeLog:
file: changelog-data/production-monthly.yaml
- include:
file: changelog-data/production-fiscal-year.yaml
- include:
file: changelog-data/production-calendar-year.yaml
- include:
file: changelog-data/disbursement.yaml
- include:
Expand Down
2 changes: 2 additions & 0 deletions database/changelog/src/functions/transform_product.sql
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ BEGIN
NEW.product := 'Geothermal - Direct Use (Hundreds of Gallons)';
WHEN NEW.product = 'Geothermal - Direct Use, Millions of Gallons' THEN
NEW.product := 'Geothermal - Direct Use (Millions of Gallons)';
WHEN NEW.product = 'Geothermal - Direct Use, Millions of Gallons (cgal)' THEN
NEW.product := 'Geothermal - Direct Use, Millions of Gallons (mgal)';
WHEN NEW.product = 'Geothermal - Direct Utilization, Millions of BTUs' THEN
NEW.product := 'Geothermal - Direct Use (Millions of BTUs)';
WHEN NEW.product = 'Geothermal - Electrical Generation, Kilowatt Hours' THEN
Expand Down
29,655 changes: 15,151 additions & 14,504 deletions database/static/csv/production/calendar_year_production.csv

Large diffs are not rendered by default.

986 changes: 497 additions & 489 deletions database/static/csv/production/monthly_production.csv

Large diffs are not rendered by default.

1,862 changes: 1,862 additions & 0 deletions database/static/csv/revenue/April 2024 Revenue for Portal_csv.csv

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/components/content-partials/Footer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ site on <Link href='https://blog-nrrd.doi.gov' style={{ color: 'white' }}>our te
<Link href='https://www.doi.gov/foia' style={{ color: 'white' }}>FOIA <OpenInNewIcon style={{ fontSize: 12, fill: 'white' }} /></Link>&nbsp;|&nbsp;
<Link href='https://www.usa.gov/' style={{ color: 'white' }}>USA.gov <OpenInNewIcon style={{ fontSize: 12, fill: 'white' }} /></Link>&nbsp;|&nbsp;
<Link href='https://www.doioig.gov/' style={{ color: 'white' }}>Inspector General <OpenInNewIcon style={{ fontSize: 12, fill: 'white' }} /></Link>&nbsp;|&nbsp;
<Link href='/fact-sheet' style={{ color: 'white' }}>Monthly Fact Sheet</Link>&nbsp;|&nbsp;
<Link href='https://www.doi.gov/pmb/eeo/reports-repository' style={{ color: 'white' }}>No Fear Act <OpenInNewIcon style={{ fontSize: 12, fill: 'white' }} /></Link>&nbsp;|&nbsp;
<Link href='/vdp' style={{ color: 'white' }}>Vulnerability Disclosure Policy</Link>&nbsp;|&nbsp;
<Link href='/information-quality' style={{ color: 'white' }}>Information Quality</Link>&nbsp;|&nbsp;
<Link href='/accessibility' style={{ color: 'white' }}>Accessibility</Link>&nbsp;|&nbsp;
Expand Down
4 changes: 2 additions & 2 deletions src/pages/downloads/production-by-disposition.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ This dataset contains monthly information on the disposition of production for e
Download production disposition data by month:

<Link linkType="DownloadCsv" href="/downloads/OGOR-B/OGORBcsv.csv">
Production Disposition Volumes, January 2013 - December 2023
Production Disposition Volumes, January 2013 - January 2024
</Link>

<Link linkType="DownloadXls" href="/downloads/OGOR-B/OGORB.xlsx">
Production Disposition Volumes, January 2013 - December 2023
Production Disposition Volumes, January 2013 - January 2024
</Link>

## Download historical production disposition data by month:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Today, there are two major types of Native American land:
- <GlossaryTerm>Trust land</GlossaryTerm>, in which the federal government holds legal title, but the beneficial interest remains with the individual or tribe. Trust lands held on behalf of individuals are known as allotments.
- Fee land purchased by tribes, in which the tribe acquires legal title under specific statutory authority.

In general, most Native American lands are <GlossaryTerm>trust land</GlossaryTerm>. Approximately 56 million acres of land are held in trust by the United States for various Native American tribes and individuals. View [BIA's FAQs on federal Indian reservations <OpenInNewIcon style={{ fontSize: 20 }} />](https://www.bia.gov/frequently-asked-questions#:~:text=Approximately%2056.2%20million%20acres%20are,%2C%20communities%2C%20etc) to learn more.
In general, most Native American lands are <GlossaryTerm>trust land</GlossaryTerm>. Approximately 56 million acres of land are held in trust by the United States for various Native American tribes and individuals. View [BIA's definition of a federal Indian reservation <OpenInNewIcon style={{ fontSize: 20 }} />](https://www.bia.gov/faqs/what-federal-indian-reservation) to learn more.

## Natural resource ownership

Expand Down
1 change: 0 additions & 1 deletion src/pages/plain-language.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,4 @@ The Plain Writing Act requires agencies to train their staff in plain language
For additional training, we recommend:

- [Online training from plainlanguage.gov <OpenInNewIcon style={{ fontSize: 20 }} />.](https://www.plainlanguage.gov/training/online-training/) This page provides links to plain language training resources, including workshops and toolkits.
- [Train-the-trainer bootcamp <OpenInNewIcon style={{ fontSize: 20 }} />](https://www.plainlanguage.gov/training/train-the-trainer-bootcamp/), which trains federal employees on how to conduct plain language classes for government agencies.
- [Training videos (YouTube) <OpenInNewIcon style={{ fontSize: 20 }} />](https://www.youtube.com/playlist?list=PLd9b-GuOJ3nHMlmPFMw8cJxN_DW-odj0J) from the Plain Language Action and Information Network (PLAIN).
Binary file modified static/downloads/OGOR-B/OGORB.xlsx
Binary file not shown.