Closed thijsbenschop closed 8 years ago
Hi, thanks for pointing out this possible problem. I just can't reproduce with current code from github.
Could you please install the latest sdcMicro version from github
require(devtools)
install_github("alexkowa/sdcMicro")
and try your example again because I can't reproduce it.
thx!
Hi,
thank you for the quick response. Indeed, after installing the newer version, the problem does not occur. We ran this code on several computers with different OS with last release of sdcMicro and R and created the variable idvarextraforsls. This also happened with other datasets. Should this happen again with the new version, I will send this here. In general, when is this variable created?
Thanks
yes, this was probably a bug that slipped into the last cran version. this variable is internally created when calculating sample frequencies for the keys and/or local suppression. however, it should never be exposed to the user.
this will be corrected in the next cran release.
Thank you for looking into that and fixing this.
Hi,
the function localsuppression creates under some circumstances a variable called idvarextraforsls and adds this to the list of key variables. This variable enumerates all records and renders them sample uniques (100% 2-anonimity violators). This also happens when using the example in the help file of the localsuppression function: