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

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; the Daymet gridded estimates of daily weather parameters for North America, version 3, available from the Oak Ridge National Laboratory's Distributed Active Archive Center (DAAC); and the International Tree Ring Data Bank. Additional data sources are in the works, global soils (HWSD), MODIS satellite data products, the National Atlas (US), Natural Earth, and WorldClim.

AuthorR. Kyle Bocinsky [aut, cre], Dylan Beaudette [ctb], Scott Chamberlain [ctb]
Date of publication2017-01-21 00:48:04
MaintainerR. Kyle Bocinsky <bocinsky@gmail.com>
LicenseMIT + file LICENSE
Version2.4.0

View on CRAN

Man pages

download_data: Use curl to download a file.

download_daymet_tile: Download a netcdf tile from the 1-km DAYMET daily weather...

download_ghcn_daily_station: Download the daily data for a GHCN weather station.

download_huc4: Download a zipped directory containing a shapefile of the...

download_itrdb: Download the latest version of the ITRDB.

download_ned_tile: Download a zipped tile from the 1 (~30 meter) or 1/3 (~10...

download_nhd_subregion: Download a zipped NHD HUC4 subregion.

download_ssurgo_inventory: Download a zipped directory containing a shapefile of the...

download_ssurgo_study_area: Download a zipped directory containing the spatial and...

extract_ssurgo_data: Extract data from a SSURGO databse pertaining to a set of...

FedData-package: Scripts to automate downloading geospatial data available...

get_daymet: Download and crop the 1-km DAYMET daily weather dataset.

get_daymet_tile: Download and crop a netcdf tile from the 1-km DAYMET daily...

get_ghcn_daily: Download and crop the Global Historical Climate Network-Daily...

get_ghcn_daily_station: Download and extract the daily data for a GHCN weather...

get_ghcn_inventory: Download and crop the inventory of GHCN stations.

get_huc4: Download and crop a shapefile of the HUC4 regions of the...

get_itrdb: Download the latest version of the ITRDB, and extract given...

get_ned: Download and crop the 1 (~30 meter) or 1/3 (~10 meter)...

get_ned_tile: Download and crop tile from the 1 (~30 meter) or 1/3 (~10...

get_nhd: Download and crop the National Hydrography Dataset.

get_nhd_subregion: Download and crop data from a zipped HUC4 subregion of the...

get_ssurgo: Download and crop data from the NRCS SSURGO soils database.

get_ssurgo_inventory: Download and crop a shapefile of the SSURGO study areas.

get_ssurgo_study_area: Download and crop the spatial and tabular data for a SSURGO...

pkg_test: Install and load a package.

polygon_from_extent: Turn an extent object into a polygon

read_crn: Read a Tucson-format chronology file.

read_crn_data: Read chronology data from a Tucson-format chronology file.

read_crn_metadata: Read metadata from a Tucson-format chronology file.

sequential_duplicated: Get a logical vector of which elements in a vector are...

spdf_from_polygon: Turn a SpatialPolygons object into a...

station_to_data_frame: Convert a list of station data to a single data frame.

substr_right: Get the rightmost 'n' characters of a character string.

tiles: The DAYMET tiles SpatialPolygonsDataFrame.

unwrap_rows: Unwraps a matrix and only keep the first n elements.

Files in this package

FedData
FedData/inst
FedData/inst/CITATION
FedData/inst/FedDataTester.R
FedData/inst/img
FedData/inst/img/DAYMET.png
FedData/inst/img/ITRDB.png
FedData/inst/img/GHCN_temp.png
FedData/inst/img/SSURGO_VEP.png
FedData/inst/img/GHCN_prcp.png
FedData/inst/img/NED.png
FedData/inst/img/SSURGO_areas.png
FedData/inst/img/NHD.png
FedData/tests
FedData/tests/testthat.R
FedData/tests/testthat
FedData/tests/testthat/test.SSURGO.R
FedData/tests/testthat/test.NED.R
FedData/tests/testthat/test.DAYMET.R
FedData/tests/testthat/test.UTILITY.R
FedData/tests/testthat/test.NHD.R
FedData/tests/testthat/test.GHCN.R
FedData/tests/testthat/test.ITRDB.R
FedData/NAMESPACE
FedData/NEWS.md
FedData/data
FedData/data/tiles.rda
FedData/R
FedData/R/ITRDB_FUNCTIONS.R
FedData/R/sysdata.rda
FedData/R/SSURGO_FUNCTIONS.R FedData/R/NHD_FUNCTIONS.R FedData/R/NED_FUNCTIONS.R FedData/R/UTILITY_FUNCTIONS.R FedData/R/DAYMET_FUNCTIONS.R FedData/R/GHCN_FUNCTIONS.R
FedData/README.md
FedData/MD5
FedData/DESCRIPTION
FedData/man
FedData/man/get_ghcn_inventory.Rd FedData/man/download_ssurgo_study_area.Rd FedData/man/read_crn.Rd FedData/man/get_nhd.Rd FedData/man/get_ghcn_daily.Rd FedData/man/tiles.Rd FedData/man/get_ned.Rd FedData/man/download_ssurgo_inventory.Rd FedData/man/download_data.Rd FedData/man/read_crn_metadata.Rd FedData/man/get_ssurgo.Rd FedData/man/spdf_from_polygon.Rd FedData/man/download_itrdb.Rd FedData/man/unwrap_rows.Rd FedData/man/download_daymet_tile.Rd FedData/man/substr_right.Rd FedData/man/get_ssurgo_study_area.Rd FedData/man/download_ghcn_daily_station.Rd FedData/man/download_nhd_subregion.Rd FedData/man/get_ghcn_daily_station.Rd FedData/man/get_nhd_subregion.Rd FedData/man/polygon_from_extent.Rd FedData/man/FedData-package.Rd FedData/man/get_ssurgo_inventory.Rd FedData/man/pkg_test.Rd FedData/man/download_ned_tile.Rd FedData/man/read_crn_data.Rd FedData/man/get_daymet_tile.Rd FedData/man/extract_ssurgo_data.Rd FedData/man/station_to_data_frame.Rd FedData/man/get_itrdb.Rd FedData/man/sequential_duplicated.Rd FedData/man/get_ned_tile.Rd FedData/man/download_huc4.Rd FedData/man/get_daymet.Rd FedData/man/get_huc4.Rd
FedData/LICENSE

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.