Hello,
I have to merge two datasets. The key variable is str32. The problem I'm facing is that in one of the data files, this key variable is like 'TUS10008106201911420902372MAN 01' and in another, it is like 'TUS10008106201911420902372MAN01'. Due to this, around 8,000 observations are not matching. Is there any way to remove the spaces in one go because doing it manually will consume a lot of time?
Thanks.
Related Posts with Merging two datasets
How to get Stata to return where two variables intersect for the second timeHello everyone, I am modelling optimal marginal income tax rates. I use two models. One is very vol…
java ( sfi-api ) date format?I did not find in the Java api documentation ( https://www.stata.com/java/api/index...e-summary.html…
Mixed Logit ModelWhy could not I make alternative specific alternatives in Mixed Logit Model? …
How to create a new variable which must contains two o three different weighted variables of my datasetHi, I have data from a survey. There are three different questions, that figures as three differen…
categorical timeID in tobit regression and LR test to decide between tobit and xttobitDear Statalist members. For my thesis, I am running a tobit regression with the DV being the owners…
Subscribe to:
Post Comments (Atom)
0 Response to Merging two datasets
Post a Comment