Open tjmahr opened 9 years ago
I suggest adding a function anonymize_its()
that returns an anonymized its (xml) file. This way it can be used to anonymize its files in batch.
Then add a parameter anonymize
to load_its()
that, if TRUE, will call anonymize_its
internally to anonymize during loading.
My main reason for not implementing this fully is that I wasn’t sure whether I had a comprehensive list of all the sensitive fields in the ITS file.
Two options for anonymizing: Deleting data and overwriting. Consult with wiki and python version.
Toybox demo of how to modify an XML document in R...