new()
Initialize a HydroShare Client
HSClient$new()
A new HSClient
object.
Note: A message will be issued since R6-object is still in development.
print()
Print HSClient object
HSClient$print()
HSClient
output
authenticate()
Perform OAuth2 Authentication with HydroShare.
HSClient$authenticate()
Note, the access token will be set
as a header automatically if .token
is NULL
.
self, invisibly.
query()
Query/Search HydroShare
HSClient$query(...)
...
Query parameters. See hs_resource parameters.
R6 object
get_res()
Get current resource
HSClient$get_res()
A tibble of the current resource
next_res()
Get next resource
HSClient$next_res()
Resource tibble. See $get_res
.
prev_res()
Get previous resource
HSClient$prev_res()
Resource tibble. See $get_res
.
next_page()
Get next search page
HSClient$next_page()
Query tibble. See $query
.
prev_page()
Get previous search page
HSClient$prev_page()
Query tibble. See $query
.
clone()
The objects of this class are cloneable with this method.
HSClient$clone(deep = FALSE)
deep
Whether to make a deep clone.