Learn R Programming

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

FedData (version 2.0.0)

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.0

License

GPL-3

Maintainer

R. Bocinsky

Last Published

July 8th, 2015

Functions in FedData (2.0.0)

download_itrdb

Download the latest version of the ITRDB.
get_nhd_subregion

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

Read metadata from a Tucson-format chronology file.
get_itrdb

Download the latest version of the ITRDB, and extract given parameters.
FedData-package

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

Read a Tucson-format chronology file.
get_ssurgo_inventory

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

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

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

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

Download and crop 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.
download_ssurgo_inventory

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

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

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

Download and crop the inventory of GHCN stations.
curl_download

Use RCurl to download a file.
get_ssurgo

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

Download the daily data for a GHCN weather station.
spdf_from_polygon

Turn an SpatialPolygons object into a SpatialPolygonsDataFrame.
sequential_duplicated

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

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

Turn an extent object into a polygon
get_nhd

Download and crop the National Hydrography Dataset.
pkg_test

Install and load a package.
download_nhd_subregion

Download a zipped NHD HUC4 subregion.
read_crn_data

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

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

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

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