A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

FedData

R package implementing functions to automate downloading geospatial data available from several federated data sources in hydology, soil, climatology, cropland or landcover.
https://github.com/ropensci/FedData

Category: Sustainable Development
Sub Category: Data Catalogs and Interfaces

Keywords

peer-reviewed r r-package rstats

Keywords from Contributors

climate reproducibility ecology biodiversity genome lake conservation tidyverse forest turfjs

Last synced: about 14 hours ago
JSON representation

Repository metadata

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

README.Rmd

          ---
output: github_document
editor_options: 
  chunk_output_type: console
---



```{r setup, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%",
  dpi = 72
)
```

[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![CRAN version](https://www.r-pkg.org/badges/version/FedData)](https://cran.r-project.org/package=FedData)
[![CRAN downloads per month](https://cranlogs.r-pkg.org/badges/FedData)](https://github.com/r-hub/cranlogs.app)
[![CRAN downloads](https://cranlogs.r-pkg.org/badges/grand-total/FedData)](https://github.com/r-hub/cranlogs.app)
[![R-CMD-check](https://github.com/ropensci/FedData/actions/workflows/check-standard.yaml/badge.svg)](https://github.com/ropensci/FedData/actions/workflows/check-standard.yaml)
[![Codecov test coverage](https://codecov.io/gh/ropensci/FedData/branch/master/graph/badge.svg)](https://app.codecov.io/gh/ropensci/FedData?branch=master)
[![Zenodo DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.596344.svg)](https://doi.org/10.5281/zenodo.596344)
[![ROpenSci Status](https://badges.ropensci.org/13_status.svg)](https://github.com/ropensci/software-review/issues/13)

`FedData` is an *R* package implementing functions to automate downloading geospatial data available from several federated data sources.

Currently, the package enables extraction from nine datasets: 

* The [National Elevation Dataset (NED)](https://www.usgs.gov/3d-elevation-program) digital elevation models (1 and 1/3 arc-second; USGS)
* The [National Hydrography Dataset (NHD)](https://www.usgs.gov/national-hydrography/national-hydrography-dataset) (USGS)
* The [Soil Survey Geographic (SSURGO) database](https://websoilsurvey.sc.egov.usda.gov/) 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)](https://www.ncei.noaa.gov/products/land-based-station/global-historical-climatology-network-daily), coordinated by National Climatic Data Center at NOAA
* The [Daymet](https://daymet.ornl.gov/) gridded estimates of daily weather parameters for North America, version 4, available from the Oak Ridge National Laboratory's Distributed Active Archive Center (DAAC)
* The [International Tree Ring Data Bank (ITRDB)](https://www.ncei.noaa.gov/products/paleoclimatology/tree-ring), coordinated by National Climatic Data Center at NOAA
* The [National Land Cover Database (NLCD)](https://www.mrlc.gov/), including the annual NLCD data
* The [NASS Cropland Data Layer](https://www.nass.usda.gov/Research_and_Science/Cropland/SARS1a.php) from the National Agricultural Statistics Service
* The [PAD-US](https://www.usgs.gov/programs/gap-analysis-project/science/pad-us-data-overview) dataset of 
protected area boundaries from the USGS

This package is designed with the large-scale geographic information system (GIS) use-case in mind: cases where the use of dynamic web-services is impractical due to the scale (spatial and/or temporal) of analysis. It functions primarily as a means of downloading tiled or otherwise spatially-defined datasets; additionally, it can preprocess those datasets by extracting data within an area of interest (AoI), defined spatially. It relies heavily on the [**sf**](https://cran.r-project.org/package=sf) and [**terra**](https://cran.r-project.org/package=terra) packages.

### Development
+ [Kyle Bocinsky](https://www.bocinsky.io) - Montana Climate Office, Missoula, MT

### Contributors
+ Dylan Beaudette - USDA-NRCS Soil Survey Office, Sonora, CA
+ Jeffrey Hollister - US EPA Atlantic Ecology Division, Narragansett, RI
+ Scott Chamberlain - ROpenSci and Museum of Paleontology at UC Berkeley

### Install `FedData`
+ From CRAN:
```{r install, eval = FALSE}
install.packages("FedData")
```

+ Development version from GitHub:
```{r install dev, eval = FALSE}
install.packages("devtools")
devtools::install_github("ropensci/FedData")
```
+ Linux:
Follow instructions for installing `sf` available at , then install either from CRAN or GitHub. 

### Getting Started
Check out our [Getting Started article](https://docs.ropensci.org/FedData/articles/FedData.html).

### Acknowledgements
This package is a product of SKOPE ([Synthesizing Knowledge of Past Environments](https://www.openskope.org/)) and the [Village Ecodynamics Project](https://crowcanyon.github.io/veparchaeology/) through grants awarded to the University of Montana, the [Crow Canyon Archaeological Center](https://crowcanyon.org/), and Washington State University by the National Science Foundation. This software is licensed under the [MIT license](https://opensource.org/license/mit). Continuing development is supported by the [Montana Climate Office](https://climate.umt.edu).

FedData was reviewed for [rOpenSci](https://ropensci.org) by [\@jooolia](https://github.com/jooolia), and was greatly improved as a result. [rOpenSci](https://ropensci.org) on-boarding was coordinated by [\@sckott](https://github.com/sckott).



        

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 5 days ago

Total Commits: 583
Total Committers: 10
Avg Commits per committer: 58.3
Development Distribution Score (DDS): 0.134

Commits in past year: 15
Committers in past year: 1
Avg Commits per committer in past year: 15.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Kyle Bocinsky b****y@g****m 505
Bocinsky b****y@B****l 58
Bocinsky b****y@B****Z 7
Jeff Hollister j****r@g****m 4
jsta s****2@m****u 3
Bocinsky b****y@b****n 2
Jeroen Ooms j****s@g****m 1
Ben Marwick b****k@h****m 1
user01 u****1 1
ropenscibot m****t@g****m 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 116
Total pull requests: 8
Average time to close issues: 4 months
Average time to close pull requests: about 2 months
Total issue authors: 63
Total pull request authors: 5
Average comments per issue: 3.6
Average comments per pull request: 1.88
Merged pull request: 7
Bot issues: 0
Bot pull requests: 0

Past year issues: 10
Past year pull requests: 1
Past year average time to close issues: about 2 months
Past year average time to close pull requests: 4 months
Past year issue authors: 9
Past year pull request authors: 1
Past year average comments per issue: 2.7
Past year average comments per pull request: 3.0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/ropensci/FedData

Top Issue Authors

  • bocinsky (26)
  • kevinwolz (12)
  • jhollist (4)
  • jsocolar (3)
  • kbvernon (3)
  • jsta (3)
  • rhijmans (2)
  • mortiestmorty2020 (2)
  • GatesDupont (2)
  • bpatrzyk (2)
  • YoJimboDurant (2)
  • monikashea (2)
  • thechibo (2)
  • KingaHill (2)
  • khurley-usgs (1)

Top Pull Request Authors

  • jsta (3)
  • jhollist (2)
  • maelle (1)
  • YoJimboDurant (1)
  • benmarwick (1)

Top Issue Labels

  • enhancement (5)
  • help wanted (1)

Top Pull Request Labels


Package metadata

cran.r-project.org: FedData

Download Geospatial Data Available from Several Federated Data Sources

  • Homepage: https://docs.ropensci.org/FedData/
  • Documentation: http://cran.r-project.org/web/packages/FedData/FedData.pdf
  • Licenses: MIT + file LICENSE
  • Latest release: 4.3.0 (published 15 days ago)
  • Last Synced: 2025-04-25T12:06:46.486Z (1 day ago)
  • Versions: 40
  • Dependent Packages: 1
  • Dependent Repositories: 6
  • Downloads: 1,130 Last month
  • Docker Downloads: 88,618
  • Rankings:
    • Docker downloads count: 0.044%
    • Forks count: 3.59%
    • Stargazers count: 4.234%
    • Average: 8.666%
    • Dependent repos count: 11.912%
    • Downloads: 14.082%
    • Dependent packages count: 18.134%
  • Maintainers (1)

Dependencies

DESCRIPTION cran
  • R >= 3.2.0 depends
  • curl * imports
  • data.table * imports
  • dplyr * imports
  • httr * imports
  • igraph * imports
  • jsonlite * imports
  • lifecycle * imports
  • lubridate * imports
  • magrittr * imports
  • methods * imports
  • progress * imports
  • purrr * imports
  • raster * imports
  • readr * imports
  • rgdal * imports
  • sf * imports
  • sp * imports
  • stringr * imports
  • terra * imports
  • tibble * imports
  • tidyr * imports
  • xml2 * imports
  • codemetar * suggests
  • covr * suggests
  • devtools * suggests
  • docopt * suggests
  • ggplot2 * suggests
  • lintr * suggests
  • pkgdown * suggests
  • precommit * suggests
  • roxygen2 * suggests
  • styler * suggests
  • testthat * suggests
  • usethis * suggests
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action 4.1.4 composite
  • actions/checkout v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pr-commands.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/pr-fetch v2 composite
  • r-lib/actions/pr-push v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/check-standard.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite

Score: 18.34217537896177