Forum

Adding column with ...
 
Notifications
Clear all

Adding column with assigned value based on dates

4 Posts
3 Users
0 Reactions
73 Views
(@adellinger)
Posts: 2
New Member
Topic starter
 

Hi Mynda,

First time post here, so hopefully this is clear - I have attached a dummy file of just a few example columns to get my point across.

Essentially, I have duplicate IDs in a file and each has two different assessments dates (pre and post) and associated scores. How can I create a column that assigns a '1' for the first assessment date in a duplicate pair and '2' for the second assessment date in a duplicate pair? The goal here is just to do some quick and dirty analyses of aggregate pre scores for all and post scores for all and look at change by each subscale score.

Thanks for your help!

-Adrienne

 
Posted : 09/01/2019 7:26 pm
(@nebu)
Posts: 1
New Member
 

Hi:

May be this?

Thanks

 
Posted : 10/01/2019 2:02 am
(@mynda)
Posts: 4761
Member Admin
 

Hi Adrienne,

I actually have a blog post on how to do this coming out next week. Please see the attached file.

Mynda

 
Posted : 10/01/2019 3:06 am
(@adellinger)
Posts: 2
New Member
Topic starter
 

Thank you, Mynda!!! I got about halfway there and now see what I was doing wrong in the final steps. I really appreciate your quick response and look forward to the full blog post. 🙂

 
Posted : 10/01/2019 12:48 pm
Share: