poly_in_boundary | R Documentation |
Helper function to read only features contained in a study area rather than load every feature in the dataset. Called by loadSpatial() for most baseline dataset imports to reduce memory load and speed up computation.
poly_in_boundary(x, y, layer = NULL)
x |
Folder where files are stored |
y |
The study area outline to query the data |
layer |
Name of the layer, if required |
A sf dataframe ready to be used by the model. If no features are intersecting the defined boundary, returns a sf dataframe of length 0.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.