get_datasets: Get list of datasets

Description Usage Arguments Value See Also Examples

View source: R/api.R

Description

Get list of datasets available via 'Hlídač státu' API

Usage

1
get_datasets(token = Sys.getenv("HLIDAC_TOKEN"))

Arguments

token

Authorization token

Value

Response from the server containing a list of all datasets available. The list contains 3 elements: - total: Total number of datasets available (integer) - page: Page of the result (integer) - results: data concerning the datasets (data.frame)

See Also

https://www.hlidacstatu.cz/swagger/index.html

https://www.hlidacstatu.cz/api/v1/doc

Other Datasets: get_dataset_data(), get_dataset_metadata(), get_dataset_record_detail()

Examples

1
2
3
4
## Not run: 
get_datasets()

## End(Not run)

skvrnami/hlidacr documentation built on Sept. 16, 2021, 5:20 p.m.