R/getISDhistory.R

Defines functions getISDhistory

Documented in getISDhistory

#' Download the latest version of the station history file
#' 
#' @description Downloads the file found at \url{ftp://ftp.ncdc.noaa.gov/pub/data/noaa/isd-history.csv}.
#' The table lists all stations, their location, and their period of activity.
#' @export
getISDhistory <- function(){
  read.table("ftp://ftp.ncdc.noaa.gov/pub/data/noaa/isd-history.csv",
             header = TRUE, sep = ",", stringsAsFactors = FALSE,
             colClasses = c("character", "character", rep(NA, 9)))
}
FluentData/ISDr documentation built on May 6, 2019, 5:05 p.m.