Package 'rspat'

Title: rspatial.org data -- terra version
Description: Data to support the examples on rspatial.org
Authors: Robert J. Hijmans [cre, aut], Alex Mandel [ctb]
Maintainer: Robert J. Hijmans <[email protected]>
License: GPL (>=3)
Version: 1.0-1
Built: 2024-10-30 04:30:03 UTC
Source: https://github.com/rspatial/rspat

Help Index


rspatial

Description

This package provides simplified data access for examples on rspatial.org

Author(s)

Robert Hijmans and Alex Mandel Maintainer: Robert J. Hijmans <[email protected]>

References

https://rspatial.org


Get exampled data

Description

Get and example data set

Usage

spat_data(name)
spat_download(files, path="data", url="https://biogeo.ucdavis.edu/data/rspatial/")

Arguments

name

data set name

files

filenames to download

path

path (folder) to save the data to

url

url where the data is downloaded from

Value

A data set. Often a Spatial* object or a data.frame

Examples

auctb <- spat_data("auctb")
crime <- spat_data("crime")