Hello,
I'm trying to merge two datasets that have basically the same observations but with different variable names.
One has for example "AUS1954" (Australia 1954) as country_id. The other dataset has "AUS" and "1954" in two separate variables (country and year). Is it possible to merge these who in a new variable so they can match AUS1954 in the first dataset?
Thank you in advance, i'm a beginner.
Related Posts with Help with merging variables
spmap location of geographic labelsHi, I am using a shapefile for the UK regions (NUTS1) from https://data.gov.uk/dataset/2aa6727d...u…
How to code to calculate Buy-and-hold Abnormal Return (BHAR)We use the income from May of T+1 to April of T+2 as T annual income.BHAR is equal to the multiplier…
Random sampleHello to all, I try to learn stata by myself as a economist, So I want to make a boucle to make a r…
clustered standard error with IVDear all I am estimating IV model. I would like to cluster at the village level We have only two vi…
Help with time-dependent variable in longitudinal dataHi everyone, I am working on panel data as shown below: I want to generate a time-dependent covar…
Subscribe to:
Post Comments (Atom)
0 Response to Help with merging variables
Post a Comment