Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201867

Using the NOAA API Token to pull in data

$
0
0

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


Viewing all articles
Browse latest Browse all 201867

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>