Project

General

Profile

Actions

Support #2157

open

Merging x_indresp and x_child, then merging across waves

Added by Rehana Meeajan 3 months ago. Updated 2 months ago.

Status:
Feedback
Priority:
Normal
Category:
Data documentation
Start date:
10/02/2024
% Done:

50%


Description

Hi,
(Using R)
I'm trying to merge variables from j_child and j_indresp, which I'm able to do using j_hidp - creating j_merge.
j_child: breastfeeding data variables
j_indresp: loneliness, famsup

I am having difficulty merging cross wave data from here.

I have tried renaming j_hidp to hidp,
if I then wish to merge across waves (j_merge with k_merge, l_merge etc), on inspecting the data I have duplicate pidp entries with the same breastfeeding data, with the same hidp.
Presumably different adults providing the same data about one infant's breastfeeding data and household support.

Merging by pidp doesn't work.

I am wondering if I instead need to merge across waves by j_pno (in j_indresp) and j_rapno (person providing breastfeeding data in j_child)
Would this be acceptable?
Would this be possible by renaming j_pno to "pno", and j_rapno to "pno" and merging across waves in this manner by full join?

Many thanks in advance for any thoughts or suggestions,
Rehana

Actions

Also available in: Atom PDF