I am trying to pull weather data from NOAA's API I've downloaded rnoaa, httrm and jsonlite packages.
I want to run this piece of code
ncdc_stations(datasetid='GHCND', locationid='FIPS:12017', stationid='GHCND:USC00084289')
I get the error message:
Error in getOption("noaakey", stop("need an API key for NOAA data")) : need an API key for NOAA data
I have a token, how do I implement it into the code?
Thanks