Project

General

Profile

Actions

Support #1780

open

Code creator

Added by David Bayliss about 2 years ago. Updated about 1 year 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
Actions #1

Updated by Understanding Society User Support Team about 2 years 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

Actions #2

Updated by Understanding Society User Support Team about 2 years 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

Actions #3

Updated by Understanding Society User Support Team about 1 year ago

  • Status changed from Feedback to Resolved
  • % Done changed from 80 to 100
Actions

Also available in: Atom PDF