read.ahccd | R Documentation |
Read Adjusted and Homogenized Canadian Climate Data files. Data can be downloaded from the ftp site at ftp://ccrp.tor.ec.gc.ca/pub/AHCCD/ . It is required that the data file be downloaded along with the associated stations excel file. For example, if the 'Adj_monthly_rain.zip' file is downloaded, then the 'Precipitation_Stations.xls' file should also be downloaded whether it be using download.file(), or manually from the site.
Flag description from 'Temperature_Documentation.doc', which is on the ftp site, last downloaded : 20190723, M = missing value, E = estimated during archiving process, a = value has been adjusted due to homogeneity and no flag indicates original unaltered value.
read.ahccd(file, longitude = NULL, latitude = NULL, elevation = NULL)
file |
a connection or a character string giving the name of the file to load. |
longitude |
optional numerical value containing longitude in decimal degrees, positive in the eastern hemisphere. |
latitude |
optional numerical value containing the latitude in decimal degrees, positive in the northern hemisphere. |
elevation |
optional numerical value containing the elevation of the station in meters. |
named list of data for each station provided in stns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.