Exploring European attitudes and behaviours using the European Social Survey

Author: Jorge Cimentada

I never thought that I’d be programming software in my career. I started using R a little over 2 years now and it’s been one of the most important decisions in my career…Throughout the journey I repeatedly found myself using the European Social Survey (ESS from now on), a really neat dataset that collects information on attitudes, beliefs and behaviour patterns of diverse populations in more than thirty European nations since 2002.

After seeing a niche in the R package community, I created the package essurvey (previously ess in CRAN) to access this data easily from R. The package was accepted in CRAN in September 2017 and was well received among social scientists.

Read the full post here: https://ropensci.org/blog/2018/06/14/essurvey/

Thank you so much for being resourceful!

When I replicate your code for “semi_cleaned,” I get an error message below.

  1. For all countries
    Error in bind_rows()': ! labels’ must have names.
  2. For ES and FR
    Error in bind_rows():
    ! Can’t combine ..1$stfgov and ..8$stfgov <factor<9a1c0>>.
    Run rlang::last_error() to see where the error occurred.

Would you be able to identify the issue?

Hi @wooaesil,

For the example for all countries remove the line map(recode_missings). For the ES FR examples, remove recode_missings altogether. That should fix it.