View source: R/load.data.shp.r
load.data.shp | R Documentation |
sf
sConvert shapefiles into a list of sf
objects.
load.data.shp(sampling.file,
ssh.file,
reporting.file)
sampling.file |
Path to the sampling layer. The sampling layer should be a point |
ssh.file |
Path to the SSH layer. The SSH layer should be a polygon |
reporting.file |
Path to the reporting layer. The reporting layer should be a polygon |
A list of sf
objects.
sim.sampling.name <- system.file("extdata", "sim.sampling.shp",
package="sandwichr")
sim.ssh.name <- system.file("extdata", "sim.ssh.shp",
package="sandwichr")
sim.reporting.name <- system.file("extdata", "sim.reporting.shp",
package="sandwichr")
sim.data <- load.data.shp(sampling.file=sim.sampling.name,
ssh.file=sim.ssh.name,
reporting.file=sim.reporting.name)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.