Description Usage Arguments Examples
A generic function to access LegCo APIs.
1 |
db |
the database you wish to access. |
query |
the query for retrieving data. Should include the data endpoint and parameters if any. |
n |
the number of record to fetch. Defaults to |
count |
logical: Whether to return only the total count of records that
matches the parameter(s) instead of the result. Defaults to |
verbose |
logical: Whether to display progress messages when fetching
data? Defaults to |
1 2 3 | # Fetch data from the "bills" endpoint of the hansard database
x <- legco_api("hansard", "Bills")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.