Hi,
I am trying two merge two datasets using the key ID (Neighborhood_Code).
However, Im getting the error
" Each key variable -- the variables on which observations are matched -- must be of the same generic type in the master and using datasets. Same generic
type means both numeric or both string."
The key ID is a combination of numbers like '110111110901'.
In the first dataset, the ID format is %18.0g and in the second %12s.
I want both to be stored as string before merging.
How should I do that ?
Related Posts with Problem with Merging
How to let Stata know that one variable contains a panel of countries and the other variable contains just one country?Hi all, I have a panel data set in long-form, where the dependent variable (Y) contains data of 10 …
Ttest between pop mean and sample meanHi, For a balance table, I am working on, I have generated the sample means and proportion of my d…
combining retrospective and prospective informationHello all, I have a question please on how to combine retrospective and prospective information usi…
Generating a row total sum for each time a strpos from the list is foundHi, I am currently working with ICD10 codes and getting stuck on a question I feel like probably has…
Saving & using multiple scalars to generate new variablesHi all, I am trying to create a new indicator variable based on whether an individual is in the top…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with Merging
Post a Comment