search_subsidies {hlidacr} | R Documentation |
Search subsidies
Description
Search subsidies
Usage
search_subsidies(
query,
page = 1,
sort = NULL,
token = Sys.getenv("HLIDAC_TOKEN")
)
Arguments
query |
Search query |
page |
Page number (Please note that if the page parameter exceeds 200, the function returns error) |
sort |
Sorting of results, the available options are the following: - 0: order by relevance - 1: order by the date of signature, the most recent first - 2: order by the date of signature, the most recent last - 3: order by the size of the subsidy, the largest first - 4: order by the size of the subsidy, the largest last - 5: order by ICO in a descending order - 6: order by ICO in an ascending order |
token |
Authorization token |
Value
list containing 3 elements: - total: Total number of datasets available (integer) - page: Page of the result (integer), equal to the 'page' argument of the function - results: Data.frame with data, columns vary depending on the dataset
See Also
https://www.hlidacstatu.cz/swagger/index.html
https://www.hlidacstatu.cz/api/v1/doc
Other Subsidies:
get_subsidy()
Examples
## Not run:
search_subsidies("golf")
## End(Not run)