sql_where | R Documentation |
This function will create a where statement that is compatible with
get_spatial_layer
). This statement can then be passed
to the where
argument in this function.
sql_where(..., rel_op = "=")
... |
Named objects to be queried by |
rel_op |
Character. The relational operator in the SQL clause (i.e. "=",
"IN", "NOT IN", etc.). If a single rel_op is provide with multiple ...
parameters then it will be recycled |
A character string that can be passed to the where argument of
get_spatial_layer
## Not run:
wbics <- sql_where(WATERBODY_WBIC = c(805400, 804600), rel_op = "IN")
lakes <- get_spatial_layer(wi_hydro_url, where = wbics)
plot_layer(lakes)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.