Skip to content

essurvey v1.0.3

Compare
Choose a tag to compare
@cimentadaj cimentadaj released this 16 Oct 06:19
· 32 commits to master since this release

essurvey 1.0.3

Breaking changes

  • If you don't know which format is available for a round/country, import_* and download_* functions now accept a NULL argument which runs through 'stata', 'spss' and 'sas' formats automatically. By default, import_* functions have now format set to NULL to automatically try the three different formats. This breaks backward dependency but only slightly where it had 'stata' set as default.

New features

  • Users can now download SDDF (weight data) for each country/round combination of files. Functions show_sddf_cntrounds, import_sddf_country and download_sddf_country are now introduced. For technical purposes, show_sddf_cntrounds needs for the user to have set their registered ESS email with set_email. [#9]

Minor changes

Internal

  • read_format_data now tries to read data using haven but falls backs to foreign in case there's an error. This should only work for SDDF data [#38].
  • read_format_data and read_sddf_data now always return a list. Checking the length of data to return a data frame now happens within each import_* function.

Bug fixes

  • Removes an unnecessary if statement in set_email that didn't allow to overwrite the email once set.