CRAN maintenance release to add more informative message when the status code of the HTTP request of ‘www.europeansocialsurvey.org’ is more than 300.
All tests/examples are now excluded from running on CRAN based on the warning from Brian Ripley:
‘Packages which use Internet resources should fail gracefully with an informative message if the resource is not available (and not give a check warning nor error).’
They are all forced to run on Travis and Appveyor and this is made clear on the cran-comments.md
CRAN maintenance check after release of ESS round 9.
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.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]haven
to minimum package version 2.1.1read_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.set_email
that didn’t allow to overwrite the email once set.show_country_rounds
checks if there are missing values and excludes them.import_all_cntrounds
and import_country
returned incorrect countries [#31]
ess_email
is now checked that it is not ""
because it wasn’t raising an error before.
Removes the round
argument from import_all_cntrounds
because it was a mistake. It already grabs the rounds internally.
Minor release
The ess
package has been renamed to essurvey
for a name conflict with Emacs Speaks Statistics (ESS). See R-pkg mailing list, the post related to the release of ess-0-0-1.
ess_rounds
and ess_all_rounds
are deprecated and will be removed in the next release. Use import_rounds
instead [#22]
ess_country
and ess_all_cntrounds
are deprecated and will be removed in the next release. Use import_countries
instead [#22]
The your_email
argument name of ess_*
functions has be changed to ess_email
[#23]
import_rounds
, import_all_rounds
and download_rounds
have been introduced as replacements of ess_rounds
and ess_all_rounds
. Same changes were repeated for ess_country
and ess_all_cntrounds
[#22]
set_email
to set your email as environmental variable rather than write it in each call [#23]
All requests to the ESS website are now done through HTTPS rather than HTTP [#24]
Add package level documentation [#20]
ess_email
had no default value but now has NULL
as default [#23]
The format
argument is now checked through match.arg
rather than manual check [#25]
remove_missings() together with remove_numeric_missings() and remove_character_missings() now allow you to recode the typical categories ‘Not applicable’, ‘Don’t know’, etc.. into NA’s. See the vignette example for more details. [#1]
Can download files in ‘stata’, ‘spss’ and ‘sas’ formats for all functions (both for downloading to user’s directory and for reading data). [#11]
show_themes() and show_theme_rounds() now available to see which themes have been included in which rounds. [#7]
show_rounds_country() is now available to see which countries participated in which rounds [#14]
The ouput_dir
argument is now set to getwd()
rather than NULL
as default. [#16]
When parsing country rounds from the ESS table from the website, shaded dots were being interpreted as valid rounds when in fact they’re not. show_* funs new exclude shaded dots until they’ve been added as valid rounds
If any ess_*
function can not connect to the ESS website they will return an explicit R error. [#12]
ess_all_cntrounds
and ess_all_rounds
were returning the directory of each of the files. Now they only return the single directory where the files where saved as a message
First release