You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]
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.