Learn R Programming

rclimateca (version 1.0.2)

getClimateSites: Get Environment Canada locations.

Description

Get Environment Canada locations.

Usage

getClimateSites(location, year = NULL, n = 5, locs = NULL,
  nicenames = FALSE, cols = c("Name", "Province", "Station ID", "distance",
  "Latitude (Decimal Degrees)", "Longitude (Decimal Degrees)", "First Year",
  "Last Year"))

Arguments

location

A human-readable location that will be geocoded

year

A vector of years that the location must have data for

n

The number of rows to return

locs

The data.frame of locations. Use NULL to for ecclimatelocs.

nicenames

Sanitize names to type-able form

cols

The columns to return (use NULL for all columns)

Value

A subset of ecclimatelocs

References

ftp://client_climate@ftp.tor.ec.gc.ca/Pub/Get_More_Data_Plus_de_donnees/Readme.txt ftp://client_climate@ftp.tor.ec.gc.ca/Pub/Get_More_Data_Plus_de_donnees/