View source: R/collection-feature.R
pgf_collection_feature | R Documentation |
Get collection feature given collection_id, feature_id and optional query parameters (see API specs here).
pgf_collection_feature(
collection_id,
feature_id,
base_url,
path,
properties = NULL,
transform = NULL,
nocache = NULL,
user = gh_user(),
verbose = FALSE,
response = FALSE
)
collection_id |
A character string of the collection id. |
feature_id |
A positive whole number of the feature id. |
base_url |
A character string of the base URL. |
path |
A character string of the path or endpoint. |
properties |
A vector of strings of the column names to include. If NULL (default), all columns are retained. |
transform |
A character vector with the name of the valid transform function followed by the parameter values (e.g. c("ST_Simplify", 100)). |
nocache |
A character string indicating whether to cache results or not. Possible values include 'true' or 'false' or NULL. |
user |
A character string of the user. This allows whoever is running the server your are querying to contact you in case of misuse. |
verbose |
A flag indicating whether to provide verbose GET response. |
response |
A flag indicating whether to return the raw response object. |
A sf object.
Other collections:
pgf_collection_bbox()
,
pgf_collection_crs()
,
pgf_collection_description()
,
pgf_collection_features()
,
pgf_collection_geometry_type()
,
pgf_collection_properties()
,
pgf_collections()
## Not run:
pgf_collection_feature("whse_basemapping.fwa_wetlands_poly", limit = 1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.