I am trying to download data from NOAA using the rnoaa package of R.
I am using ncdc_stations
function to download some data:
siteNumber <- "GHCND:USC00023505"
metadata_station <- ncdc_stations(datasetid='GHCND', stationid=siteNumber)
However, I am getting the following error:
Error in check_response(ncdc_GET(path, args, token, ...)) :
x$response_headers$`content-type` == "application/json;charset=UTF-8" is not TRUE
Someone knows how to solve this issue?