ws_get: Basic HWSD download function

View source: R/ws_get.R

ws_getR Documentation

Basic HWSD download function

Description

Downloads HWSD data, wrapped by ws_subset() for convenient use. This is a function mainly for internal use but exposed so people can benefit from it in other (more flexible) setups if so desired.

Usage

ws_get(location, param, path, internal = TRUE)

Arguments

location

file with several site locations and coordinates in a comma delimited format: site, latitude, longitude

param

which soil parameter to use

path

default is tempdir()

internal

return an internal raster or just retain values in the path

Value

HWSD data as a raster file


hwsdr documentation built on Sept. 16, 2023, 5:06 p.m.