Package 'rspatial'

Title: rspatial.org data
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-0
Built: 2024-10-12 06:10:56 UTC
Source: https://github.com/rspatial/rspatial

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

sp_data(name)
sp_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 <- sp_data("auctb")
crime <- sp_data("crime")