Dear STATAlisters,
I have a column of text, which also contains number(s). It has some peculiarities. First, the number’s length can vary from 1 to 5 digits. Second, the number can be all numeric or alphanumeri, but if it is alphanumeric, it usually has alphabets in the first or last place. Third, the text can contain more than one number.
I tried splitting the text using space as delimiter but it resulted in more than 100 variables as the text can be long for some observations.
How should I tackle such issue? Any guidance will be much much appreciated.
Thanks.
Lg Mg
Related Posts with Extract alphanumeric ids from text
r(430) cannot compute an improvement -- discontinuous region encounteredDear Stata Users, I have a sample of 14,310 observations, consisting of trade data between 54 diffe…
foreach- reorganising multiple variablesHi, I am new to STATA and I am struggling to reorganise a large dataset using loops. Each id repre…
Lopping and storing beta coeffecients after regress over filesHi everyone, good afternoon. I am not able to make my loop save the results after regress over file…
How to draw a correlation forest map with the admetan command?Dear Statalist, I have recently done a meta-analysis of the correlation coefficient, but I encounter…
LCA(Latent Class Analysis) still "not concave" and No Results in "gsem"Dear Friends, I tried to use LCA in stata15 for my paper. I want to classify the observed people int…
Subscribe to:
Post Comments (Atom)
0 Response to Extract alphanumeric ids from text
Post a Comment