Documentation for "/api/v1/cmp/graphs":

Documentation score: Route: 100% Fields: 100%

Description:

Annual raw data for stations in the Citizen Monitoring Program, used to generate graphs on PCA website.

Search parameters:

One or more of the following search parameters need to be specified in order to retrieve data:
Parameter nameRequiredDescription
stationId Yes Water quality monitoring station ID

Additional parameters:

The following, optional, parameters may be specified:
Parameter nameDescription
format The desired return format. Valid formats are: {json, jsonp, text, csv, xls, ods, and tab}. The default is json.
callback The JSONP callback function name (Note that format needs to be "jsonp").
fields The comma-separated-list of the field names to return from the query. The default is to return all available fields.
nullValue Value to substitute in place of null values. The default is to return null values as "null" (per JSON.org).
limit The number of records to limit the result set to. Behaves like the SQL standard LIMIT clause.
offset Used with Limit-- the record number to start retrieving from. Behaves like the SQL standard OFFSET clause.

Result Set Definitions:

Field nameDescription
monitoringYear The year the monitoring took place.
observationDate The date of the observation.
physicalAppearance The physical appearance score.
recSuitabilityScore The recreational suitability score
secchi Depth at which the Secchi disk can be seen.
secchiUnit The unit of length measurement for the Secchi data. Meters for lakes, centimeters for streams.
stationId Water quality monitoring station ID
stationType Type of station. 'River/Stream' or 'Lake Station' or 'Lake'.
transparencyRatingByColor Color used on graph to represent a color representing Secchi transparency, from poor to excellent. Key: Red=poor, yellow=fair, green=good, light blue=very good, dark blue= excellent.
tubeType STUBE=Secchi tube or TTUBE=T-tube. All values after 2012 will be STUBE.
wid Unique water unit ID.

Example Queries: