
Import FIPS country codes and State/Province/Territory codes used by the Global Historical Climatology Network
Source:R/import_ghcn_stations.R
import_ghcn_countries.RdThis function returns a two-column dataframe either of "Federal Information Processing Standards" (FIPS) codes and the countries to which they are associated, or state codes and their associated states. These may be a useful reference when examining GHCN site metadata.
Arguments
- table
One of
"countries"or"states".- database
One of
"hourly","daily"or"monthly", which defines which of the NOAA databases to import the FIPS codes from. There is little difference between the data in the different sources, but this option may be useful if one of the services is not accessible.
Value
a tibble
See also
Other GHCN functions:
import_ghcn_daily(),
import_ghcn_hourly(),
import_ghcn_inventory(),
import_ghcn_monthly_temp(),
import_ghcn_stations()