Description Usage Arguments Value Examples
A wrapper to the isd_stations_search
function
in the rnoaa
package, allowing you to search by FIPS code rather than
having to know the latitude and longitude of the center of each county. The
isd_stations_search
function requires a radius within which to search for
stations. This radius is estimated from 2010 U.S. Census Land Area data.
1 | isd_fips_stations(fips, verbose = FALSE)
|
fips |
A five-digit FIPS county code. |
verbose |
TRUE / FALSE to indicate if you want the function to print the county or vector of counties it's saving files for as the function runs. |
A list with four elements. The first element, stations
, is a
dataframe of monitors within a calculated radius of the
geographic center of the county specified by the FIPS code.
This will have the same dataframe format as the output from the
isd_stations_search
function in the rnoaa
package. The
second element, radius
, gives the radius (in km) within which
stations were pulled from the county's geographic center.
Elements lat_center
and lon_center
are the latitude and
longitude of the county's population-weighted center.
1 2 3 4 5 6 | ## Not run:
fips_list <- isd_fips_stations(fips = "12086")
ids <- fips_list$stations
head(ids)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.