Hi,
I'm trying to append some 35 data sets, one for each state. I used a loop to append them and saved as a new file. These data sets have identical variable names. However, a problem I have faced earlier in another data is despite variable names being same, and the question being same, the the original value labels were not identical across the multiple data sets. Thus an append without checking the individual labels had left me with nonsensical value labels in the appended data.
Now due to this large no. of data sets and large no. of variables, I can't manually check if the labels are in order and was wondering if there could be a loop which would solve this. I would like to do this check before I append the data sets.
Thanks
Related Posts with How to check if value labels are consistently defined across multiple data sets using a loop?
Counting the number in a groupI have data on district name and school name. I am trying to get a list of how many schools there ar…
Import several excel files and transpose column into rowI need to import several Excel files. Each Excel file has three variables, item, price and quantity.…
Panel data problemHi all, I'm trying to clean up my data to use it in a data panel, but I'm encountering several prob…
Logit - Panel - BaseHello, I have a panel data set from 2013 - 2017 where each individual is included for 3 years. My d…
Survival Analysis: how to define the censor variable?Hello everyone, I am not that familiar yet with survival analysis, however, I want to investigate pe…
Subscribe to:
Post Comments (Atom)
0 Response to How to check if value labels are consistently defined across multiple data sets using a loop?
Post a Comment