diff --git a/README.rst b/README.rst
index f170f80..3678c64 100644
--- a/README.rst
+++ b/README.rst
@@ -68,7 +68,7 @@ Protocol (HTTP) so there is no need to install external ODBC drivers, configure
ODBC connections or deal with the security vulnerabilities associated with
them. Most functions have a parameter, return_header which by default is set
to FALSE. If the user decides to set return_header to TRUE, then that function
-will return a python 3 AQS_DATAMART_APIv2 object. An AQS_DATAMART_APIv2 object
+will return a python 3 AQSAPI_V2 object. An AQSAPI_V2 object
has instance methods for retrieving the data requested, header information,
and other metadata related to the API call. After each call to the API a five
second stall is invoked to help prevent overloading the Data Mart API server
diff --git a/docs/_build/doctrees/environment.pickle b/docs/_build/doctrees/environment.pickle
index 70de0a6..418509b 100644
Binary files a/docs/_build/doctrees/environment.pickle and b/docs/_build/doctrees/environment.pickle differ
diff --git a/docs/_build/doctrees/index.doctree b/docs/_build/doctrees/index.doctree
index 030de53..931b44d 100644
Binary files a/docs/_build/doctrees/index.doctree and b/docs/_build/doctrees/index.doctree differ
diff --git a/docs/_build/doctrees/manual/EPA_Disclaimer.doctree b/docs/_build/doctrees/manual/EPA_Disclaimer.doctree
index 77f53b1..2297882 100644
Binary files a/docs/_build/doctrees/manual/EPA_Disclaimer.doctree and b/docs/_build/doctrees/manual/EPA_Disclaimer.doctree differ
diff --git a/docs/_build/doctrees/manual/Install_pyaqsapi.doctree b/docs/_build/doctrees/manual/Install_pyaqsapi.doctree
index b5b71a1..9a1a295 100644
Binary files a/docs/_build/doctrees/manual/Install_pyaqsapi.doctree and b/docs/_build/doctrees/manual/Install_pyaqsapi.doctree differ
diff --git a/docs/_build/doctrees/manual/Introduction.doctree b/docs/_build/doctrees/manual/Introduction.doctree
index c47af48..8faefc0 100644
Binary files a/docs/_build/doctrees/manual/Introduction.doctree and b/docs/_build/doctrees/manual/Introduction.doctree differ
diff --git a/docs/_build/doctrees/manual/Load_pyaqsapi.doctree b/docs/_build/doctrees/manual/Load_pyaqsapi.doctree
index 5bd53e9..991b007 100644
Binary files a/docs/_build/doctrees/manual/Load_pyaqsapi.doctree and b/docs/_build/doctrees/manual/Load_pyaqsapi.doctree differ
diff --git a/docs/_build/doctrees/manual/RAQSAPI.doctree b/docs/_build/doctrees/manual/RAQSAPI.doctree
index 563a5a7..01f3fee 100644
Binary files a/docs/_build/doctrees/manual/RAQSAPI.doctree and b/docs/_build/doctrees/manual/RAQSAPI.doctree differ
diff --git a/docs/_build/doctrees/manual/TimelinessofAQSdata.doctree b/docs/_build/doctrees/manual/TimelinessofAQSdata.doctree
index 5fc13fa..8242f91 100644
Binary files a/docs/_build/doctrees/manual/TimelinessofAQSdata.doctree and b/docs/_build/doctrees/manual/TimelinessofAQSdata.doctree differ
diff --git a/docs/_build/doctrees/manual/Troubleshooting.doctree b/docs/_build/doctrees/manual/Troubleshooting.doctree
new file mode 100644
index 0000000..a492008
Binary files /dev/null and b/docs/_build/doctrees/manual/Troubleshooting.doctree differ
diff --git a/docs/_build/doctrees/manual/Using_pyaqsapi.doctree b/docs/_build/doctrees/manual/Using_pyaqsapi.doctree
index acceb7f..07a9c49 100644
Binary files a/docs/_build/doctrees/manual/Using_pyaqsapi.doctree and b/docs/_build/doctrees/manual/Using_pyaqsapi.doctree differ
diff --git a/docs/_build/doctrees/manual/pyaqsapiFunctions-Brief.doctree b/docs/_build/doctrees/manual/pyaqsapiFunctions-Brief.doctree
index 921eb56..e6d99db 100644
Binary files a/docs/_build/doctrees/manual/pyaqsapiFunctions-Brief.doctree and b/docs/_build/doctrees/manual/pyaqsapiFunctions-Brief.doctree differ
diff --git a/docs/_build/doctrees/manual/pyaqsapiFunctions-Long.doctree b/docs/_build/doctrees/manual/pyaqsapiFunctions-Long.doctree
index 92a60bd..edf2e5f 100644
Binary files a/docs/_build/doctrees/manual/pyaqsapiFunctions-Long.doctree and b/docs/_build/doctrees/manual/pyaqsapiFunctions-Long.doctree differ
diff --git a/docs/_build/doctrees/manual/pyaqsapiusagetipsandprecautions.doctree b/docs/_build/doctrees/manual/pyaqsapiusagetipsandprecautions.doctree
new file mode 100644
index 0000000..a2a6bfb
Binary files /dev/null and b/docs/_build/doctrees/manual/pyaqsapiusagetipsandprecautions.doctree differ
diff --git a/docs/_build/html/.buildinfo b/docs/_build/html/.buildinfo
index 4368c13..7c4ba3b 100644
--- a/docs/_build/html/.buildinfo
+++ b/docs/_build/html/.buildinfo
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
-config: 76a68937cbe1e6a63755071eed15d2c3
+config: 0abb323b0f8e893bc66a17fa59e0f212
tags: 645f666f9bcd5a90fca523b33c5a78b7
diff --git a/docs/_build/html/_sources/index.rst.txt b/docs/_build/html/_sources/index.rst.txt
index 5a0fcb0..14fcd38 100644
--- a/docs/_build/html/_sources/index.rst.txt
+++ b/docs/_build/html/_sources/index.rst.txt
@@ -1,27 +1,30 @@
.. pyaqsapi documentation master file, created by
- sphinx-quickstart on Mon Oct 4 14:40:23 2021.
+ sphinx-quickstart on Mon Oct 4 14:40:23 2021.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
-.. sectionauthor:: Clinton Mccrowey epa.gov>
+
+.. sectionauthor:: Clinton Mccrowey clinton epa.gov>
===========================
pyaqsapi user documentation
===========================
.. toctree::
- :maxdepth: 2
- :numbered:
- :hidden:
+ :maxdepth: 2
+ :numbered:
+ :hidden:
.. include:: manual/EPA_Disclaimer.rst
.. include:: manual/Introduction.rst
.. include:: manual/TimelinessofAQSdata.rst
-.. include:: manual/RAQSAPI.rst
.. include:: manual/Install_pyaqsapi.rst
.. include:: manual/Load_pyaqsapi.rst
.. include:: manual/Using_pyaqsapi.rst
+.. include:: manual/pyaqsapiusagetipsandprecautions.rst
.. include:: manual/pyaqsapiFunctions-Long.rst
+.. include:: manual/Troubleshooting.rst
+.. include:: manual/RAQSAPI.rst
pyaqsapi API reference documentation
@@ -34,3 +37,10 @@ pyaqsapi index
--------------
* :ref:`genindex`
+
+References
+----------
+.. bibliography::
+ :style: plain
+ :list: enumerated
+ :filter: docname in docnames
\ No newline at end of file
diff --git a/docs/_build/html/_sources/manual/Introduction.rst.txt b/docs/_build/html/_sources/manual/Introduction.rst.txt
index 9de92a8..6e3192b 100644
--- a/docs/_build/html/_sources/manual/Introduction.rst.txt
+++ b/docs/_build/html/_sources/manual/Introduction.rst.txt
@@ -3,19 +3,19 @@ Introduction
The pyaqsapi package for the python 3 programming environment allows a python 3
programming environment to connect to and retrieve data from the United States
Environmental Protection Agency’s (US EPA) Air Quality System (AQS) Data Mart
-API v2 (Air Quality System)1 interface directly. This package enables the data
-user to omit legacy challenges including coercing data from a JSON object to a
-usable python 3 object, retrieving multiple years of data, formatting API
-requests, retrieving results, handling credentials, requesting multiple
-pollutant data and rate limiting data requests. All the basic functionality
-of the API have been implemented that are available from the AQS API Data Mart
-server. The library connects to AQS Data Mart API via Hypertext Transfer
-Protocol (HTTP) so there is no need to install external ODBC drivers, configure
-ODBC connections or deal with the security vulnerabilities associated with
-them. Most functions have a parameter, return_header which by default is set
-to FALSE. If the user decides to set return_header to TRUE, then that function
-will return a python 3 AQS_DATAMART_APIv2 object. An AQS_DATAMART_APIv2 object
-has instance methods for retrieving the data requested, header information,
-and other metadata related to the API call. After each call to the API a five
-second stall is invoked to help prevent overloading the Data Mart API server
-and to serve as a simple rate limit.
+API v2 (Air Quality System) :cite:t:`AQSDataMartWelcome` interface directly.
+This package enables the data user to omit legacy challenges including coercing
+data from a JSON object to a usable python 3 object, retrieving multiple years
+of data, formatting API requests, retrieving results, handling credentials,
+requesting multiple pollutant data and rate limiting data requests.
+All the basic functionality of the API have been implemented that are available
+from the AQS API Data Mart server. The library connects to AQS Data Mart API
+via Hypertext Transfer Protocol (HTTP) so there is no need to install external
+ODBC drivers, configure ODBC connections or deal with the security
+vulnerabilities associated with them. Most functions have a parameter,
+return_header which by default is set to FALSE. If the user decides to
+set return_header to TRUE, then that function will return a python 3
+AQSAPI_V2 object. An AQSAPI_V2 object has instance methods for retrieving the
+data requested, header information, and other metadata related to the API call.
+After each call to the API a five second stall is invoked to help prevent
+overloading the Data Mart API server and to serve as a simple rate limit.
diff --git a/docs/_build/html/_sources/manual/RAQSAPI.rst.txt b/docs/_build/html/_sources/manual/RAQSAPI.rst.txt
index d49bb65..41d8abf 100644
--- a/docs/_build/html/_sources/manual/RAQSAPI.rst.txt
+++ b/docs/_build/html/_sources/manual/RAQSAPI.rst.txt
@@ -2,11 +2,10 @@
About RAQSAPI
=============
-pyaqsapi is a port of `RAQSAPI `_ to the
+pyaqsapi is a port of :cite:t:`Rpackage:RAQSAPI` to the
python 3 programming environment. For anyone that is familiar with RAQSAPI,
the pyaqsapi API will feel familiar to you, most of the functions are similar
and the parameters sent to each functions are the same. pyaqsapi aims to have
feature parity with RAQSAPI and neither project will have features that the
other project does not - other than programming language environment or
-language preference there is no benefit to using one package over the other.
-
+language preference there is no benefit to using one package over the other.
\ No newline at end of file
diff --git a/docs/_build/html/_sources/manual/TimelinessofAQSdata.rst.txt b/docs/_build/html/_sources/manual/TimelinessofAQSdata.rst.txt
index 6b76349..03a6666 100644
--- a/docs/_build/html/_sources/manual/TimelinessofAQSdata.rst.txt
+++ b/docs/_build/html/_sources/manual/TimelinessofAQSdata.rst.txt
@@ -5,6 +5,6 @@ About the timeliness of AQS Data
EPA's AQS Datamart API, the service that pyaqsapi retrieves data from, does not
host real time (collected now/today) data. If real time data is needed, please
-use the AirNow API and direct all questions toward real time data there. RAQSAPI
-does not work with AirNow and cannot retrieve real time data. For more details
-see section 7.1 of the About AQS Data page.
\ No newline at end of file
+use the AirNow API and direct all questions toward real time data there.
+pyaqsapi does not work with AirNow and cannot retrieve real time data. For more
+details see section 7.1 of the About AQS Data page :cite:t:`AboutAQSdata`.
\ No newline at end of file
diff --git a/docs/_build/html/_sources/manual/Troubleshooting.rst.txt b/docs/_build/html/_sources/manual/Troubleshooting.rst.txt
new file mode 100644
index 0000000..6b4e87c
--- /dev/null
+++ b/docs/_build/html/_sources/manual/Troubleshooting.rst.txt
@@ -0,0 +1,9 @@
+.. index:: Troubleshooting
+
+Troubleshooting
+===============
+
+Parameters must be supplied exactly as they are specified, for example the
+stateFIPS for Alabama is "01", entering a value of "1" for the stateFIPS
+may lead to unexpected results. Do not omit leading zeros in parameters that
+expect them.
\ No newline at end of file
diff --git a/docs/_build/html/_sources/manual/Using_pyaqsapi.rst.txt b/docs/_build/html/_sources/manual/Using_pyaqsapi.rst.txt
index b384238..fe44152 100644
--- a/docs/_build/html/_sources/manual/Using_pyaqsapi.rst.txt
+++ b/docs/_build/html/_sources/manual/Using_pyaqsapi.rst.txt
@@ -2,16 +2,17 @@
Using pyaqsapi
==============
-For those who are already familiar with using RAQSAPI then the pyaqsapi API
-should feel familiar with a few minor differences regarding how the data is
-returned.
+For those who are already familiar with using :cite:t:`Rpackage:RAQSAPI`
+RAQSAPI then the pyaqsapi API should feel familiar with a few minor differences
+regarding how the data is returned.
-All data is returned using pandas Data Frames. Exported functions from pyaqsapi
-have a parameter RETURN_HEADER, by default this parameter is False. When False
-these functions simply return the requested data as a pandas Data Frame. If
-RETURN_HEADER is manually set to True an AQSAPI_V2 python 3 object is returned.
-Use the get_data() class method to retrieve the data, get_header() class
-method to retrieve header information.
+By default data is returned as a pandas Data Frames :cite:t:`pandas_DataFrame`.
+Exported functions from pyaqsapi have a parameter RETURN_HEADER, by default
+this parameter is False. When False functions simply return the requested
+data as a pandas Data Frame. If RETURN_HEADER is manually set to True a list of
+AQSAPI_V2 python 3 objects are returned. Use the get_data() class method to
+retrieve the data and the get_header() class method to retrieve header
+information.
.. index:: sign_up
diff --git a/docs/_build/html/_sources/manual/pyaqsapiusagetipsandprecautions.rst.txt b/docs/_build/html/_sources/manual/pyaqsapiusagetipsandprecautions.rst.txt
new file mode 100644
index 0000000..0ca0c1f
--- /dev/null
+++ b/docs/_build/html/_sources/manual/pyaqsapiusagetipsandprecautions.rst.txt
@@ -0,0 +1,58 @@
+.. index:: Usage tips and precautions
+
+Usage tips and precautions
+==========================
+
+This section contains suggestions for completing certain data related tasks.
+
+* Determine if or how much data exists for a time-parameter-geography
+ combination:
+
+ * Retrieve data using the annualdata service.
+ * If no records are returned, we do not have the data.
+ * If records are returned, use the observation count to determine the
+ temporal and geographic distribution of the data.
+
+* Monthly averages:
+
+ * AQS does not routinely calculate monthly aggregate statistics.
+ * If you need these, you must calculate them yourself.
+ * These can be calculated from the sample data or the daily data without
+ loss of fidelity.
+
+* Determine a single value for a site with collocated monitors:
+
+ * Many sites will have collocated monitors - monitors collecting the same
+ parameter at the same time.
+ * The API currently provides only monitor level values. (site-level values
+ will be added in the future.)
+ * For some criteria pollutants (PM2.5, ozone, lead, and NO2), the
+ regulations define procedures for defining a single site-level value.
+ * For other pollutants, determining a single site-level value is left to
+ the investigator.
+
+* **Please adhere to the following when using the AQS Data Mart API**:
+
+ * *Limit the size of queries*. The AQS Data Mart contains billions of
+ values and you may request more than you intend. If you are unsure of
+ the amount of data, start small and work your way up. Please limit
+ queries to 1,000,000 rows of data each. You can use the
+ "observation count" field on the annualdata service to determine how
+ much data exists for a time-parameter-geography combination.
+ * *Limit the frequency of queries*. The AQS Data Mart can process a limited
+ load. Please wait for one request to complete before submitting another
+ and do not make more than 10 requests per minute.
+ * Be advised that RAQSAPI is capable of retrieving results for multiple
+ pollutants, this can result in the amount of data being returned being
+ multiplied by the number of pollutants being requested.
+ * Be advised that the AQS Data Mart API limits certain data requests to
+ one year of data at a time with the exception of the Monitor service.
+ In order to retrieve multiple years of data for these functions the
+ RAQSAPI library conveniently sends multiple API requests to the Data Mart
+ API server, one request for each year, this can result in the amount of
+ data being returned being multiplied by the number of years of data being
+ requested.
+
+**The AQS Data Mart administrators may disable accounts without notice for
+failure to adhere to these terms (Though they will contact the offending
+user via the email address provided)**
\ No newline at end of file
diff --git a/docs/_build/html/genindex.html b/docs/_build/html/genindex.html
index 0ecaa5a..a740e2a 100644
--- a/docs/_build/html/genindex.html
+++ b/docs/_build/html/genindex.html
@@ -108,7 +108,7 @@ F
I
@@ -116,7 +116,7 @@ I
L
@@ -124,7 +124,7 @@ L
R
@@ -136,7 +136,7 @@ S
|
@@ -145,6 +145,10 @@ T
@@ -152,7 +156,11 @@ T
U
diff --git a/docs/_build/html/index.html b/docs/_build/html/index.html
index ced9773..8e40cad 100644
--- a/docs/_build/html/index.html
+++ b/docs/_build/html/index.html
@@ -49,11 +49,11 @@
AQS DataMart Disclaimer
Introduction
About the timeliness of AQS Data
-About RAQSAPI
Install pyaqsapi
Load pyaqsapi
Using pyaqsapi
Sign up and setting up user credentials with the pyaqsapi library
+Usage tips and precautions
Functions Exported by pyaqsapi
Variable descriptions and usage
pyaqsapi functional families
+
+Troubleshooting
+About RAQSAPI
@@ -144,54 +149,44 @@ Introduction
About the timeliness of AQS Data
-EPA's AQS Datamart API, the service that pyaqsapi retrieves data from, does not
+
EPA’s AQS Datamart API, the service that pyaqsapi retrieves data from, does not
host real time (collected now/today) data. If real time data is needed, please
-use the AirNow API and direct all questions toward real time data there. RAQSAPI
-does not work with AirNow and cannot retrieve real time data. For more details
-see section 7.1 of the About AQS Data page.
-
-
-About RAQSAPI
-pyaqsapi is a port of RAQSAPI to the
-python 3 programming environment. For anyone that is familiar with RAQSAPI,
-the pyaqsapi API will feel familiar to you, most of the functions are similar
-and the parameters sent to each functions are the same. pyaqsapi aims to have
-feature parity with RAQSAPI and neither project will have features that the
-other project does not - other than programming language environment or
-language preference there is no benefit to using one package over the other.
+use the AirNow API and direct all questions toward real time data there.
+pyaqsapi does not work with AirNow and cannot retrieve real time data. For more
+details see section 7.1 of the About AQS Data page .
-Install pyaqsapi
+Install pyaqsapi
To install pyaqsapi first clone the pyaqsapi repository.
git clone https://github.com/USEPA/pyaqsapi.git
-Next, in the project's root directory use pip to install the proper
+
Next, in the project’s root directory use pip to install the proper
dependencies that are required to build
and install pyaqsapi.
pip install -r requirements.txt
-While still in the project's root directory use setuptools to build and pip
+
While still in the project’s root directory use setuptools to build and pip
to install the package.
python -m build .
python -m pip install .
@@ -199,7 +194,7 @@ Introduction