Learn R Programming

⚠️There's a newer version (4.3.0) of this package.Take me there.

FedData (version 2.0.3)

Functions to Automate Downloading Geospatial Data Available from Several Federated Data Sources

Description

Functions to automate downloading geospatial data available from several federated data sources (mainly sources maintained by the US Federal government). Currently, the package allows for retrieval of five datasets: The National Elevation Dataset digital elevation models (1 and 1/3 arc-second; USGS); The National Hydrography Dataset (USGS); The Soil Survey Geographic (SSURGO) database from the National Cooperative Soil Survey (NCSS), which is led by the Natural Resources Conservation Service (NRCS) under the USDA; the Global Historical Climatology Network (GHCN), coordinated by National Climatic Data Center at NOAA; and the International Tree Ring Data Bank. Additional data sources are in the works, including global DEM resources (ETOPO1, ETOPO5, ETOPO30, SRTM), global soils (HWSD), MODIS satellite data products, the National Atlas (US), Natural Earth, PRISM, and WorldClim.

Copy Link

Version

Install

install.packages('FedData')

Monthly Downloads

647

Version

2.0.3

License

GPL-3

Maintainer

R. Bocinsky

Last Published

January 20th, 2016

Functions in FedData (2.0.3)

pkg_test

Install and load a package.
read_crn_data

Read chronology data from a Tucson-format chronology file.
download_ssurgo_inventory

Download a zipped directory containing a shapefile of the SSURGO study areas.
unwrap_rows

Unwraps a matrix and only keep the first n elements.
read_crn

Read a Tucson-format chronology file.
substr_right

Get the rightmost "n" characters of a character string.
spdf_from_polygon

Turn an SpatialPolygons object into a SpatialPolygonsDataFrame.
download_itrdb

Download the latest version of the ITRDB.
download_nhd_subregion

Download a zipped NHD HUC4 subregion.
get_ned_tile

Download and crop tile from the 1 (~30 meter) or 1/3 (~10 meter) arc-second National Elevation Dataset.
get_ghcn_inventory

Download and crop the inventory of GHCN stations.
get_ssurgo_inventory

Download and crop a shapefile of the SSURGO study areas.
read_crn_metadata

Read metadata from a Tucson-format chronology file.
get_ssurgo

Download and crop data from the NRCS SSURGO soils database.
download_ssurgo_study_area

Download a zipped directory containing the spatial and tabular data for a SSURGO study area.
get_ghcn_daily_station

Download and extract the daily data for a GHCN weather station.
get_itrdb

Download the latest version of the ITRDB, and extract given parameters.
download_ghcn_daily_station

Download the daily data for a GHCN weather station.
get_ghcn_daily

Download and crop the Global Historical Climate Network-Daily data.
curl_download

Use RCurl to download a file.
get_huc4

Download and crop a shapefile of the HUC4 regions of the National Hydrography Dataset.
get_nhd

Download and crop the National Hydrography Dataset.
polygon_from_extent

Turn an extent object into a polygon
FedData-package

Scripts to automate downloading geospatial data available from the several federated data sources
extract_ssurgo_data

Extract data from a SSURGO databse pertaining to a set of mapunits.
get_ned

Download and crop the 1 (~30 meter) or 1/3 (~10 meter) arc-second National Elevation Dataset.
get_ssurgo_study_area

Download and crop the spatial and tabular data for a SSURGO study area.
get_nhd_subregion

Download and crop data from a zipped HUC4 subregion of the National Hydrography Dataset.
station_to_data_frame

Convert a list of station data to a single data frame.
download_huc4

Download a zipped directory containing a shapefile of the HUC4 subregions of the NHD.
sequential_duplicated

Get a logical vector of which elements in a vector are sequentially duplicated.
download_ned_tile

Download a zipped tile from the 1 (~30 meter) or 1/3 (~10 meter) arc-second National Elevation Dataset.