Description Usage Arguments Value See Also Examples
View source: R/style_formats.R
The style_formats
implements operations to access and manipulate LCCS-WS
Style Formats endpoints (LCCS-WS-SPEC 0.6)
1 | style_formats(q, style_format_id = NULL, params_list = list())
|
q |
a |
style_format_id |
A |
params_list |
HTTP Body Parameter List. The elements entered in this list may vary depending on the method being used. See the specification for the usage details for each of the operations. (https://github.com/brazil-data-cube/lccs-ws-spec) |
A RLCCSQuery
object with the subclass style_formats
for
/style_formats/
endpoint, or
a style_formats_id
subclass for
/style_formats/style_format_id/
endpoint containing
operations results.
These operations' results are all represented in JSON format, with the content varying according to the HTTP method that was performed. For the retrieval, addition, or update of classes linked to a Classification System, the result summarizes what was retrieved/added. In the case of deletions, only the confirmation of the operation is presented.
All classification systems in LCCS are linked to a Style Format. This allow
the use of classification_system_id class
subclass object to this
endpoint and retrieve the Style Format related information for a specific
Classification System. This use returns subclass
style_formats_classification
to
/classification_systems/system_id/style_formats/
endpoint.
get_request
, post_request
,
put_request
, delete_request
1 2 3 4 5 6 7 8 9 10 11 12 | lccs("https://brazildatacube.dpi.inpe.br/dev/lccs/") %>%
style_formats() %>%
get_request()
lccs("https://brazildatacube.dpi.inpe.br/dev/lccs/") %>%
style_formats(style_format_id = 3) %>%
get_request()
lccs("https://brazildatacube.dpi.inpe.br/dev/lccs/") %>%
classification_systems(system_id = 1) %>%
style_formats() %>%
get_request()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.