Description Usage Arguments Value Examples
Fetch Debates (including Oral Questions).
1 2 |
type |
One of "commons", "westminsterhall", "lords", "scotland", or "northernireland". (required) |
date |
Fetch the debates for this date. |
search |
Fetch the debates that contain this term. |
person |
Fetch the debates by a particular person ID. |
gid |
Fetch the speech or debate that matches this GID. |
order |
(optional, when using search or person) "d" for date ordering, "r" for relevance ordering. |
page |
(optional, when using search or person) Page of results to return. |
num |
(optional, when using search or person) Number of results to return (maximum and default is 1000). |
complete_call |
The twfy API will only seemingly return 1000 results per call. Setting this parameter to TRUE will iterate over the page parameter until all results are collected. Warning: this is a quick way to use up your API call allowance. |
data.frame of debates
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.