#' ## in order to use this function, you must obtain an API token from this website:
## https://www.ncdc.noaa.gov/cdo-web/token
# get_NOAA_GHCND(c("GHCND:USC00388786", "GHCND:USC00388787"),
# years = 2017:2020,
# datatypeids = c("PRCP","SNOW"),
# apitoken = "yourtokenhere")
Run the code above in your browser using DataLab