-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathextdata-gis.Rd
More file actions
31 lines (28 loc) · 927 Bytes
/
extdata-gis.Rd
File metadata and controls
31 lines (28 loc) · 927 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/whitebox-package.R
\name{sample_dem_data}
\alias{sample_dem_data}
\alias{sample_soils_data}
\title{Convenience method for path to sample DEM and soils data}
\usage{
sample_dem_data(destfile = NULL, ...)
sample_soils_data(destfile = NULL, ...)
}
\arguments{
\item{destfile}{Path to target location of sample data. Will be downloaded if does not exist. Defaults to file path of extdata subfolder of whitebox package installation directory.}
\item{...}{additional arguments to \code{file.copy()} e.g. \code{overwrite}}
}
\value{
character.
}
\description{
Get a file path to DEM.tif or STATSGO2.shp stored in extdata subfolder of whitebox package installation directory.
}
\examples{
if (check_whitebox_binary()) {
wbt_slope(sample_dem_data(), output = "slope.tif")
}
unlink(c('slope.tif', 'settings.json'))
}
\keyword{General}
\keyword{datasets}