Description Usage Arguments Details Value Examples
Specify the parameters of the election feed you would like to access, and this function will provide the URL for the corresponding FTP site and directory.
1 2 3 4 5 6 | feed_get_url(
id,
granularity = c("Detailed", "Standard"),
verbosity = c("Light", "Eml", "LightProgress", "Preload", "Verbose"),
archived = FALSE
)
|
id |
The unique numeric ID of the electoral event |
granularity |
Standard or Detailed granularity |
verbosity |
Eml, Light, LightProgress, Preload or Verbose |
archived |
FALSE for a live election feed, TRUE for a past election |
See the AEC Media Feed User Guide for details of the contents of each feed type and the available combinations of granularity and verbosity.
A string containing the URL
1 2 | feed_get_url(25881, "Detailed", "Preload", TRUE)
feed_get_url(25881, "Detailed", "Light", TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.