NCDC workflow

Scott Chamberlain

2019-09-26

This vignette is intended to demonstrate a workflow for using the NOAA NCDC data using the ncdc*() functions. It can be confusing to understand how to get at data you want - that’s the motivation for this vignette. Other vignettes show more thorough and different examples for specific data sources.

Load rnoaa

library('rnoaa')

The workflow

Look for weather stations & get station id(s)

Just information for one station

Find out what type of data is available for those stations

There are various ways to look for data types available. First, data categories:

Another way is looking for data sets:

Yet another way is looking for data types:

Search for climate data for stations (optionally specify type of data to get)

Now that you know what kinds of data categories, data sets, and data types are available for your station you can search for data with any of those as filters.

Importantly, note that you have to specify three things in a call to the ncdc function:

Here, we are specifying the datasetid, stationid, datatypeid, startdate, and enddate