Skip to content

Afrobarometer Vignette #31

@lcsanford

Description

@lcsanford

I am trying to replicate the Afrobarometer Vignette: https://retroharmonize.dataobservatory.eu/articles/afrobarometer.html

I have copied the data files and saved them, and updated the file paths. When I run:

ab_waves <- read_surveys(afrobarometer_rounds, .f='read_spss')

I get:

Reading: merged_r6_data_2016_36countries2.sav
Reading: merged-round-5-data-34-countries-2011-2013-last-update-july-2015_0.sav
Reading: r7_merged_data_34ctry.release.sav
Warning message:
In read_spss(file = filename, user_na = TRUE) :
Error: Failed to parse /data/Afrobarometer/merged_r6_data_2016_36countries2.sav: Unable to convert string to the requested encoding (invalid byte sequence).

Returning an empty survey.

Any idea what is causing this?

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions