Initialize the Afrobarometer data directory for the session.
a string containing the file path to set as the Afrobarometer data directory
Sets the options the Afrobarometer data directory:
This directory is where raw and merged data is cached across sessions.
creates the following subdirectories:
codebooksCodebooks (PDF) for each round are downloaded and stored in
locationsAfrobarometer restricted access georeferenced data (CSV) should be stored in
path/locations. The user is expected to manually place each CSV file of georeferenced
questionnairesAfrobarometer survey questionnaires (SAS) are downloaded and stored in
Sets the Afrobarometer data directory and invisibly returns the path to the directory as a string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.