Skip to content

A Stata command for merging SurveyCTO text audit data with imported Stata data sets.

License

Notifications You must be signed in to change notification settings

PovertyAction/tamerge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tamerge

A Stata command for merging SurveyCTO text audit data with imported Stata data sets.

To Do

  • Add SMCL help file documentation.
  • Add checks to verify text audit variable.
  • Add checks to verify media location option.
  • Add prefix option.
  • Add save option.
  • Add groupnames option for data sets that maintain SCTO group names.
  • Add stats option for quick overview of enumerator performance.
  • Optimize performance of the merge.
  • Add license information.
  • Adjust progress display items (if needed).
  • Create unit test examples.
  • Overall make code more consistent with odkmeta, perhaps for eventual merger.

Help File

Title

tamerge -- Merge data from SurveyCTO text audit files with SurveyCTO Stata data set in memory.

Syntax

tamerge varname, media(medialocation) [options]

options Description ------------------------------------------------------------------------- Main * media(medialocation) location of the media folder created by SurveyCTO that contains the text audit data

Options prefix(stub) replace default ta prefix with stub. save(dtaname) write merged data set to a local dta file named dtaname. stats(enumerator) display summary statistics for audit variables and test for differences across enumerator. replace overwrite existing filename ------------------------------------------------------------------------- * media() is required.

Description

tamerge merges SurveyCTO text audit data stored in .csv files in the media folder with the data set in memory based on file mapping contained in variable varname.

Remarks

Blah, blah, blah....

Options

+------+ ----+ Main +-------------------------------------------------------------

media(medialocation) blah, blah, blah.

+---------+ ----+ Options +----------------------------------------------------------

prefix(stub) blah, blah, blah.

save(dtaname) blah, blah, blah.

stats(enumerator) blah, blah, blah.

replace blah, blah, blah.

Examples

Acknowledgements

Nate Barker of Innovations for Poverty Action wrote the original do-file on which tamerge is based and provided valuable assitance in all aspects of testing and deployment. All credit for tamerge's success should go to him.

Author

Christopher Boyer

For questions or suggestions, submit a GitHub issue or e-mail researchsupport@poverty-action.org.

About

A Stata command for merging SurveyCTO text audit data with imported Stata data sets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages