Skip to content

Commit

Permalink
Merge pull request #39 from MoenMi/add-bea-and-nws
Browse files Browse the repository at this point in the history
Add BEA and NWS in Python
  • Loading branch information
vfscalfani authored Feb 23, 2024
2 parents 3c90593 + 359b7a6 commit ea81e53
Show file tree
Hide file tree
Showing 5 changed files with 1,868 additions and 0 deletions.
12 changes: 12 additions & 0 deletions _toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ parts:
- caption: BUSINESS
chapters:

# U.S. Bureau of Economic Analysis
- file: content/scripts/A_overview/bea_overview
sections:
- file: content/scripts/python/python_bea
title: "...in Python"

# U.S. Bureau of Labor Statistics
- file: content/scripts/A_overview/bls_overview
sections:
Expand Down Expand Up @@ -182,6 +188,12 @@ parts:
- file: content/scripts/R/R_CASCommon
title: "...in R"

# National Weather Service
- file: content/scripts/A_overview/nws_overview
sections:
- file: content/scripts/python/python_nws
title: "...in Python"

# PubChem
- file: content/scripts/A_overview/pubchem_overview
sections:
Expand Down
22 changes: 22 additions & 0 deletions content/scripts/A_overview/bea_overview.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
U.S. Bureau of Economic Analysis
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

.. sectionauthor:: Michael T. Moen <mtmoen@crimson.ua.edu>

Brief Overview
****************

The U.S. Bureau of Economic Analysis (BEA) API provides programmatic access to economic data published by the BEA. A UserID is required for this API, and a rate limit of 100 requests, 100 MB, and 30 errors per minute is enforced.

See the BEA API documentation [#bea1]_ and BEA API user guide [#bea2]_ for more information on accessing the API. Please check the terms of use [#bea3]_ for more information on the usage of this API.

*This product uses the Bureau of Economic Analysis (BEA) Data API but is not endorsed or certified by BEA.*

.. rubric:: References

.. [#bea1] `<https://apps.bea.gov/API/>`_
.. [#bea2] `<https://apps.bea.gov/api/_pdf/bea_web_service_api_user_guide.pdf>`_
.. [#bea3] `<https://apps.bea.gov/API/_pdf/bea_api_tos.pdf>`_
15 changes: 15 additions & 0 deletions content/scripts/A_overview/nws_overview
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
National Weather Service
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

.. sectionauthor:: Michael T. Moen <mtmoen@crimson.ua.edu>

Brief Overview
****************

The National Weather Service (NWS) API provides programmatic access to forecasts and alerts published by the NWS. An API key is not required to access this API, but users are required to include a User Agent with all API requests and adhere to an unpublished rate limit (we recommend sending a maximum of 1 request per second).

See the NWS API documentation [#nws1]_ for more information on accessing the API. Note that the documentation states, "All of the information presented via the API is intended to be open data, free to use for any purpose."

.. rubric:: References

.. [#nws1] `<https://www.weather.gov/documentation/services-web-api>`_
Loading

0 comments on commit ea81e53

Please sign in to comment.