Home » Data » Merging data files » STATA codes to merge women and household datasets
Re: STATA codes to merge women and household datasets [message #13957 is a reply to message #13937] |
Mon, 29 January 2018 20:05 |
Bridgette-DHS
Messages: 3218 Registered: February 2013
|
Senior Member |
|
|
Following is a response from Senior DHS Stata Specialist, Tom Pullum:
If you want to combine, say, the household (PR) files from the successive surveys, you should use the "append" command. This is distinct from a "merge", in which, say, the KR records and PR records from a single survey could be combined child by child.
Some variables will have different codes and categories in different surveys. For example, v023 may not be defined the same way in every survey. That must be taken into account. When you use the append command, the variable names and labels from the last survey in the append command will over-ride any previous names and labels.
The main reason for appending files is for convenience of file manipulation. In the case of the India surveys, all the files are very large and after appending they will be enormous--and slow to work with. I would recommend trimming the files and just carrying along the variables you need for analysis.
Issues related to appending have been discussed in other forum postings.
|
|
|
|
|
STATA codes to merge women and household datasets
By: Mrinal on Fri, 26 January 2018 11:53
|
|
|
Re: STATA codes to merge women and household datasets
|
|
|
Re: STATA codes to merge women and household datasets
By: Mrinal on Tue, 30 January 2018 03:28
|
|
|
Re: STATA codes to merge women and household datasets
By: boyle014 on Thu, 01 February 2018 11:14
|
|
|
Re: STATA codes to merge women and household datasets
By: Mrinal on Mon, 05 February 2018 01:07
|
|
|
Re: STATA codes to merge women and household datasets
By: boyle014 on Mon, 05 February 2018 13:08
|
|
|
Re: STATA codes to merge women and household datasets
By: Gowokani on Wed, 18 April 2018 18:52
|
|
|
Re: STATA codes to merge women and household datasets
By: boyle014 on Fri, 20 April 2018 14:00
|
|
|
Re: STATA codes to merge women and household datasets
By: priyoma on Tue, 23 October 2018 17:18
|
|
|
Re: STATA codes to merge women and household datasets
By: boyle014 on Thu, 01 November 2018 17:20
|
|
|
Re: STATA codes to merge women and household datasets
By: Isabelle on Sun, 11 August 2019 08:48
|
|
|
Re: STATA codes to merge women and household datasets
|
|
|
Re: STATA codes to merge women and household datasets
By: Isabelle on Sat, 24 August 2019 09:56
|
|
|
Re: STATA codes to merge women and household datasets
|
|
|
Re: STATA codes to merge women and household datasets
By: vpatil on Sun, 26 April 2020 00:54
|
Goto Forum:
Current Time: Thu Jan 9 06:13:33 Coordinated Universal Time 2025
|