FedData4.3.0 package

Download Geospatial Data Available from Several Federated Data Sources

agol_filter_httr

Scaffolds the common pattern of selecting a layer and filter a geometr...

agol_filter

Scaffolds the common pattern of selecting a layer and filter a geometr...

check_service

Check whether a web service is unavailable, and stop function if neces...

download_data

Use curl to download a file.

download_daymet_thredds

Download the 1-km DAYMET daily weather dataset for a region as a netcd...

download_ghcn_daily_station

Download the daily data for a GHCN weather station.

download_itrdb

Download the latest version of the ITRDB.

download_ssurgo_inventory

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

download_ssurgo_study_area

Download a zipped directory containing the spatial and tabular data fo...

extract_ssurgo_data

Extract data from a SSURGO database pertaining to a set of mapunits.

get_daymet

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

get_ghcn_daily_station

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

get_ghcn_daily

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

get_ghcn_inventory

Download and crop the inventory of GHCN stations.

get_itrdb

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

get_nass_cdl

Download and crop the NASS Cropland Data Layer.

get_ned_tile

Load and crop tile from the 1 (~30 meter) or 1/3 (~10 meter) arc-secon...

get_ned

Download and crop the 1 (~30 meter) or 1/3 (~10 meter) arc-second Nati...

get_nhd

Download and crop the National Hydrography Dataset.

get_nlcd_annual

Download and crop the Annual National Land Cover Database.

get_nlcd

Download and crop the National Land Cover Database.

get_padus

Download and crop the PAD-US Dataset.

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 study area...

get_ssurgo

Download and crop data from the NRCS SSURGO soils database.

get_wbd

Download and crop the Watershed Boundary Dataset.

pipe

Pipe operator

plot_nhd

A basic plotting function for NHD data.

polygon_from_extent

Turn an extent object into a polygon

read_crn_data

Read chronology data from a Tucson-format chronology file.

read_crn_metadata

Read metadata from a Tucson-format chronology file.

read_crn

Read a Tucson-format chronology file.

replace_null

Replace NULLs

sequential_duplicated

Get a logical vector of which elements in a vector are sequentially du...

soils_query

Submit a Soil Data Access (SDA) Query

split_bbox

Splits a bbox into a list of bboxes less than a certain size

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.

unwrap_rows

Unwraps a matrix and only keep the first n elements.

url_base

Strip query parameters from a URL

Download geospatial data available from several federated data sources (mainly sources maintained by the US Federal government). Currently, the package enables extraction from nine datasets: The National Elevation Dataset digital elevation models (<https://www.usgs.gov/3d-elevation-program> 1 and 1/3 arc-second; USGS); The National Hydrography Dataset (<https://www.usgs.gov/national-hydrography/national-hydrography-dataset>; USGS); The Soil Survey Geographic (SSURGO) database from the National Cooperative Soil Survey (<https://websoilsurvey.sc.egov.usda.gov/>; NCSS), which is led by the Natural Resources Conservation Service (NRCS) under the USDA; the Global Historical Climatology Network (<https://www.ncei.noaa.gov/products/land-based-station/global-historical-climatology-network-daily>; GHCN), coordinated by National Climatic Data Center at NOAA; the Daymet gridded estimates of daily weather parameters for North America, version 4, available from the Oak Ridge National Laboratory's Distributed Active Archive Center (<https://daymet.ornl.gov/>; DAAC); the International Tree Ring Data Bank; the National Land Cover Database (<https://www.mrlc.gov/>; NLCD); the Cropland Data Layer from the National Agricultural Statistics Service (<https://www.nass.usda.gov/Research_and_Science/Cropland/SARS1a.php>; NASS); and the PAD-US dataset of protected area boundaries (<https://www.usgs.gov/programs/gap-analysis-project/science/pad-us-data-overview>; USGS).

  • Maintainer: R. Kyle Bocinsky
  • License: MIT + file LICENSE
  • Last published: 2025-04-12