Description Usage Arguments Details
View source: R/rest_api_election.R
Example of REST API implementation of a DT filter for a UK Elections API
1 | election_filter(data, params)
|
data, params |
Standard parameters required for a funcFilter |
Data is fetched from lda.data.parliament.uk/elections.json
The API provides pagination and sorting, which are supported by this custom DT filter.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.