Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

inSilecoBlogLegacy/iseDataRetrieval

Repository files navigation

iseDataRetrieval

Check R package lifecycle

Miscellaneous functions and scripts for data retrieval.

⚠️ We recommend using https://github.com/rspatial/geodata for GADM data.

⚠️ Early versions of the package used to allow for the downloading of the package, we now recommend using the package fontawesome.

⚠️ get_climate_nam_grids() is no longer available because data have been removed form the ftp server (there are available here now https://www.wdc-climate.de/ui/project?acronym=CanClim)

Installation

if (!require("remotes")) install.packages("remotes")
remotes::install_github("inSileco/iseDataRetrieval")

Once installed, load the package

library(iseDataRetrieval)

Retrieve boundaries

⚠️ See https://github.com/rspatial/geodata

plot(get_gadm("BEL", level = 1, path = "output")[4])
## ⚠ Looks like this file has already been downloaded.

plot(get_gadm("BEL", level = 3, format = "gpkg", path = "output")[4])
## i `gpkg` selected, all administrative levels will be downloaded.
## ⚠ Looks like this file has already been downloaded.
## i unzip archive output
## Reading layer `gadm36_BEL_3' from data source `/home/kevcaz/Projects/inSileco/iseDataRetrieval/output/gadm36_BEL.gpkg' using driver `GPKG'
## Simple feature collection with 43 features and 16 fields
## Geometry type: MULTIPOLYGON
## Dimension: XY
## Bounding box: xmin: 2.555356 ymin: 49.49722 xmax: 6.40787 ymax: 51.50382
## Geodetic CRS: WGS 84

About

Miscellaneous functions and scripts for data retrieval

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /