Learn R Programming

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

FedData (version 2.0.6)

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

License

MIT + file LICENSE

Maintainer

R. Bocinsky

Last Published

February 22nd, 2016

Functions in FedData (2.0.6)

FedData-package

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

Download and crop the National Hydrography Dataset.
station_to_data_frame

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

Download the latest version of the ITRDB.
get_ghcn_inventory

Download and crop the inventory of GHCN stations.
download_ssurgo_study_area

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

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

Download the daily data for a GHCN weather station.
extract_ssurgo_data

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

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

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

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

Turn an SpatialPolygons object into a SpatialPolygonsDataFrame.
get_nhd_subregion

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

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

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

Use curl to download a file.
get_ghcn_daily_station

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

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

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

Install and load a package.
get_ned

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

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

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

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

Read a Tucson-format chronology file.
read_crn_metadata

Read metadata from a Tucson-format chronology file.
download_nhd_subregion

Download a zipped NHD HUC4 subregion.
polygon_from_extent

Turn an extent object into a polygon
get_ghcn_daily

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

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

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