write_state_file | R Documentation |
Writes the state file to the specified directory within the generated
database (state/state.json
).
write_state_file(task, regions, source_for_state)
task |
[mandatory] (list) Session task specifying parameters for data collection. |
regions |
[mandatory] (character) A vector containing ISO 3166-2 region codes. Country codes are two characters long, while state codes contain additional characters. |
source_for_state |
[mandatory] (list) A list containing information regarding the collected data. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.