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
Struggling with hbarI've been working to finalize my code for a figure, and I'm struggling to be able to see the entiret…
keeping observation with lowest value and get the median of thatHello, I have a panel data and I want to keep the observation with the minimum value of Days for eac…
Wide to Long Reshaping Hi all, I have data in the following format: Code: * Example generated by -dataex-. For mo…
Transpose between row and columnHi all, I know there are lots of posts about transpose, but I still find troubles with my table. I h…
colours for coefplot with matrixHi, I am using Stata16 and would like to produce a multicoloured coefplot from a matrix that contai…
Subscribe to:
Post Comments (Atom)
0 Response to Merging two datasets
Post a Comment