list_ngd_collections | R Documentation |
Query the osdatahub NGD Features API to gather information on available data collections. An API key is not required for this query.
list_ngd_collections(simple = TRUE)
simple |
(logical) Should only the collection ID be returned? Default is
|
OS NGD themes and collections have been created to group similar geographic entities and data types, making it quicker and easier to identify the data you need. The OGC API - Features standard also references feature collections, and in the context of OS NGD datasets, this is equivalent to feature types. The following naming convention has been applied to the feature collections: theme-collection-featuretype. Short codes have been used for both the theme and collection to keep the feature collection names manageable and not overly long. An example of the short codes used is: 'bld-fts-buildingline'. For more information, see https://osdatahub.os.uk/docs/ofa/technicalSpecification.
If simple
is TRUE
then return a character vector of
available collections identified by their shortened code, else return a
data.frame
with the full details.
ngd_collections <- list_ngd_collections(simple = TRUE)
ngd_collections[1:10]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.