untidy_rfrnds | R Documentation |
Converts from the tidied rfrnds()
to the "raw" MongoDB schema used by the RDB API. Basically reverts tidy_rfrnds()
.
untidy_rfrnds(data, as_tibble = FALSE)
data |
The data to untidy as returned by |
as_tibble |
Whether or not to return the result as a tibble. If |
If as_tibble = FALSE
, a list with one element per referendum, suitable to be converted jsonlite::toJSON()
and then fed to the RDB API.
Otherwise a tibble of the same format as returned by rfrnds(tidy = FALSE)
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.