Package 'canwqdata'

Title: Get Canadian Long-Term Water Quality Monitoring Data
Description: Download Canadian Long Term Water Quality Monitoring Data into R from the Environment and Climate Change Canada Datamart. All data is freely available under the Open Government License - Canada from <http://data.ec.gc.ca/data/substances/monitor/national-long-term-water-quality-monitoring-data/>.
Authors: Andy Teucher [aut, cre], Province of British Columbia [cph]
Maintainer: Andy Teucher <[email protected]>
License: Apache License (== 2.0) | file LICENSE
Version: 0.3.0
Built: 2024-10-17 06:18:23 UTC
Source: https://github.com/bcgov/canwqdata

Help Index


Get Canadian Long-Term Water Quality Monitoring Data

Description

All data is freely available under the Open Government License Canada from here.


Download water quality data for a basin

Description

Download water quality data for a basin

Usage

wq_basin_data(basin)

Arguments

basin

the name of a basin. An easy way to get a list of basins is to use the wq_basins_pt() function

Value

a data.frame of all the water quality monitoring data from that basin.


Get a list of basins for a Province or Territory.

Description

Get a list of basins for a Province or Territory.

Usage

wq_basins_pt(prov_terr = c("AB", "BC", "MB", "NB", "NL", "NS", "NT", "NU",
  "ON", "PE", "QC", "SK", "US", "YT"))

Arguments

prov_terr

one or more Province/Territory abbreviations

Value

a character vector of basin names

Examples

## Not run: 
  wq_basins_pt(c("BC", "AB"))

## End(Not run)

Get a table of water quality parameter descriptions

Description

Get a table of water quality parameter descriptions

Usage

wq_data_desc()

Value

a data.frame of parameter descriptions


Get a table of water quality parameters

Description

Get a table of water quality parameters

Usage

wq_params()

Value

a data.frame of parameters


Download water quality data for a site or multiple sites

Description

Download water quality data for a site or multiple sites

Usage

wq_site_data(sites)

Arguments

sites

site numbers. See wq_sites.

Value

a data.frame of water quality data for the sites. See wq_data_desc()

Examples

## Not run: 
wq_site_data(c("NW10OB0003", "NB01AJ0008"))

## End(Not run)

Get a table of water quality monitoring sites

Description

Get a table of water quality monitoring sites

Usage

wq_sites()

Value

a data.frame of monitoring sites