Project

General

Profile

Support #1780

Code creator

Added by David Bayliss over 1 year ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Data management
Start date:
10/10/2022
% Done:

100%


Description

Hi,

The code creator is great, thanks for introducing this.

I'm struggling to resolve an issue that has arisen from a section of code created. In a 'long' dataset, cases in wave 'a' are being duplicated in the dataset. That is, 'pidp' and 'wavename' do not uniquely identify cases, and inspection reveals a duplication of all records from wave 'a' (coded 1). I don't fully understand the loop syntax to find where the problem may be.

Any help would be appreciated.

The code creator reference is: 3b620ca633234d53b8afc87bada06fce (also file attached)

Many thanks,
David


Files

UKHLS_dataset creation_long.do (8.56 KB) UKHLS_dataset creation_long.do David Bayliss, 10/10/2022 03:08 PM
UKHLS_dataset creation_long_changed.do (8.6 KB) UKHLS_dataset creation_long_changed.do Understanding Society User Support Team, 10/19/2022 12:32 PM

Also available in: Atom PDF