classes: Endpoint functions

Description Usage Arguments Value See Also Examples

View source: R/classes.R

Description

The classes implements operations to access and manipulate LCCS-WS Classes of Classification Systems endpoints (LCCS-WS-SPEC 0.6)

Usage

1
classes(q, class_id = NULL, params_list = list())

Arguments

q

a RLCCSQuery object expressing a LCCS query criteria.

class_id

a character class id to be retrieved from a Classification System

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)

Value

A RLCCSQuery object with the subclass classes for /classification_system/system_id/classes/ 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.

See Also

get_request, post_request, put_request, delete_request

Examples

1
2
3
4
lccs("https://brazildatacube.dpi.inpe.br/dev/lccs/") %>%
  classification_systems(system_id = 2) %>%
  classes() %>%
  get_request()

brazil-data-cube/rlccs documentation built on Feb. 28, 2021, 5:50 p.m.