worldbank / iefieldkit

Stata commands designed for Impact Evaluations field work. These are tools that are used during/after a survey in the field for data quality monitoring.
MIT License
39 stars 18 forks source link

[ieduplicates] handling of long string IDs in listofdiffs #172

Closed luizaandrade closed 2 years ago

luizaandrade commented 4 years ago

@TKapelari is working on a survey that uses names as IDs (this is just the listing so we can actually create unique IDs). We need to make sure the names are unique before creating project IDs.

As it is, the listdiffs uses the complete value of the ID to merge it to the file with the list of duplicates. This causes errors with long strings, as they may be longer than the maximum allowed length for locals.

kbjarkefur commented 4 years ago

Will close once published on SSC