View source: R/get-representative.R
Fetch a particular member of the House of Representatives
1 2 3 4 5 | get_representative(tidy = TRUE, id = NULL, division = NULL,
always_return = NULL)
getRepresentative(tidy = TRUE, id = NULL, division = NULL,
always_return = NULL)
|
tidy |
Convert the output list to a tidyverse-ready format |
id |
If you know the person ID for the member you want (returned from get_representatives or elsewhere), this will return data for that person |
division |
The name of an electoral division; OpenAustralia will try and work it out from whatever you give them |
always_return |
For the division option, sets whether to always try and return a Representative, even if the seat is currently vacant |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.