readCDO | R Documentation |
Read climate station data from "Climate Data Online"
readCDO(file = "", data = "HourlyGlobal", advanced = TRUE, sep = ",")
file |
The name of the file the data are to be read from. |
data |
The name of the data source downloaded at http://gis.ncdc.noaa.gov/map/viewer/. Currently Hourly Global ("HourlyGlobal"), Global summary of the day ("GSOD") and Global Historical Climatology Network-Daily "GHCN" are supported |
advanced |
logical. Indicated whether advanced download option for "HourlyGlobal" was used or not. |
sep |
The field separator character. Note that the separation character of the the header might differ in some cases which however can be ignored since the function will account on this. |
A data frame containing a representation of the data in the file.
Space separated data are only supported with the options data="HourlyGlobal" and advanced==FALSE.
Hanna Meyer
read.table
## Not run:
#### Example 1: Read a table of hourly global data downloaded using advanced download option
file=system.file("ClimateStationData.txt", package="Rsenal")
readCDO(file)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.