Learn R Programming

rnoaa (version 0.3.3)

isd: Get NOAA ISD/ISH data from NOAA FTP server.

Description

Get NOAA ISD/ISH data from NOAA FTP server.

Usage

isd(usaf = NULL, wban = NULL, year = NULL, path = "~/.rnoaa/isd",
  overwrite = TRUE)

isd_stations(...)

Arguments

usaf
USAF code
wban
WBAN code
year
(numeric) One of the years from 1901 to the current year
path
(character) A path to store the files, Default: ~/.rnoaa/isd
overwrite
(logical) To overwrite the path to store files in or not, Default: TRUE.
...
Curl options passed on to GET

Examples

Run this code
## Not run: ------------------------------------
# # Get station table
# stations <- isd_stations()
# head(stations)
# 
# # Get data
# (res <- isd(usaf="010230", wban="99999", year=1986))
# (res <- isd(usaf="992230", wban="99999", year=1986))
## ---------------------------------------------

Run the code above in your browser using DataLab