Project

General

Profile

Support #1780

Code creator

Added by David Bayliss 4 months ago. Updated 4 months ago.

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

80%


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
#1

Updated by Understanding Society User Support Team 4 months ago

  • Category set to Data management
  • Status changed from New to In Progress
  • % Done changed from 0 to 20
  • Private changed from Yes to No

Dear David,

I am sorry to hear you have encountered an issue. I will report this to people responsible for the code creator and get back to you.

Thank you for providing feedback!

Best wishes,
Piotr
UKHLS User Support Team

#2

Updated by Understanding Society User Support Team 4 months ago

Thanks for your feedback and spotting the error. Our data team are working on correcting this. In the meantime we have provided a modified syntax file (changes in Lines 24 & 155) which should work.

Alita
Best wishes,
Understanding Society User Support Team

Also available in: Atom PDF