pgf_collection_feature.Rd
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
)
A character string of the collection id.
A positive whole number of the feature id.
A character string of the base URL.
A character string of the path or endpoint.
A vector of strings of the column names to include. If NULL (default), all columns are retained.
A character vector with the name of the valid transform function followed by the parameter values (e.g. c("ST_Simplify", 100)).
A character string indicating whether to cache results or not. Possible values include 'true' or 'false' or NULL.
A character string of the user. This allows whoever is running the server your are querying to contact you in case of misuse.
A flag indicating whether to provide verbose GET 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()
if (FALSE) { # \dontrun{
pgf_collection_feature("whse_basemapping.fwa_wetlands_poly", limit = 1)
} # }