read_bem.Rd
Read the broad ecosystem mapping (BEM) layer
read_bem(dsn, layer = "BEM", wkt_filter = character(0))
data source name (interpretation varies by driver - for some drivers, dsn is a file name, but may also be a folder, or contain the name and access credentials of a database); in case of GeoJSON, dsn may be the character string holding the geojson data. It can also be an open database connection. When dsn is left empty/NULL the polygons will be fetched from the BC Data Catalog.
layer name (varies by driver, may be a file name without extension); in case layer is missing, st_read will read the first layer of dsn, give a warning and (unless quiet = TRUE) print a message when there are multiple layers, or give an error if there are no layers in dsn. If dsn is a database connection, then layer can be a table name or a database identifier (see Id). It is also possible to omit layer and rather use the query argument.
character; WKT representation of a spatial filter (may be used as bounding box, selecting overlapping geometries)
sf object