This fucntion set up the anonymization working space by creating the folders, generating the pre-populated R scripts, generating the anonymization report, and running the first round of pre-processing and anonymization to make sure that the process is smooth.

setup_anonymization(agrisvy, overwrite)

Arguments

agrisvy

an agrisvy object

overwrite

a logical. If TRUE,overwrite the working folders if they already exists.

Examples

if (FALSE) {
agrissvy_obj=createAgrisvy(
                svyName = "AGRIS SURVEY 2023",
                author = "AgriSurvey Team",
                language = "en",
                workingDir = "C/Documents/anonymization",
                dataDir = "C/Documents/AgrisData",
                type = ".dta"
)


}