The strL data type is clearly useful, but the fact that it can't be used for a merge is breaking
backward compatibility with Stata 15 and earlier. I don't know if strL is new to Stata16, or if
Stata16 is just more aggressive about using it as a data type.
My prior code is breaking because variables that were formerly `str##` are now being read by Stata
as `strL`, so they cannot be used as merge keys. My research team has written about 200,000 lines of
Stata code over the last 10 years, and these breakages are happening left and right. In many cases,
the efficiency replacement is not remotely worth it-- today some code broke while running a string
replacement using a replacement file that was only 10 strings in length.
In this specific case, the 10-line string file was imported with `import delimited`, and Stata
defaulted the key string to strL, breaking the merge.
I know I can recast these to the `str##` format, but I would like to avoid updating our codebase in
thousands of places.
Ideally, I would like to ask Stata to avoid using the `strL` format except when I specifically
request it. Alternately, to avoid using the `strL` in cases when the string length is less than some
character length, like 100.
Can this be done?
Thank you!
-p
Related Posts with Can strL be disabled? It is breaking all my pre-16 code.
correlation in one wave data and panel datahello, I have constructed a correlation matrix of a one wave data and a panel data set to examine t…
log (pseudo)likelihood and wald chi²Hello, I am wondering what log pseudolikelihood and wald chi² mean in het output of logit. After re…
standardized coefficients for semHi, A quick question -- are there any postestimation commands analogous to Long and Freese's "listc…
Help with spmapHello, I'm trying to visually present which zip codes Cuban immigrant offenders return to in Florid…
different levels of significance logit vs marginsHello, I am running a logistic regression with the log odds and the marginal effects as coefficient…
Subscribe to:
Post Comments (Atom)
0 Response to Can strL be disabled? It is breaking all my pre-16 code.
Post a Comment