Hi StataList,
I'm attempting to collapse two variables, "from_gstin" and "to_gstin", into a form where there is not multiple occurrences of the same two observations. For example, observations 1-3 have the same "from_gstin" and "to_gstin" three times in a row, I'd like this to just show once. Is there a best way to collapse this data down?
Many thanks,
TjspenceArray
Related Posts with Collapsing two variables that occur multiple times
Two-way scatter plot title and axis titleDear All, I am trying to do a two way scatter plot from my analysis. The code which i am running in…
how to combine (as in overlap) multiple catplots?Hi Guys, Hope you're all well. Code: catplot letter if 2020dummy==1, percent hor var1opts(sort(1)…
Meta - Forest plot - How do we get high-res figures in large meta-analyses?Dear statalisters, -meta- with the option forestplot is capable of producing great forest plots, wh…
Ripley's spatial K-function: Generating clusters based on geographical information in firm-level & patent-level panel dataDear Stata users, I have firm-level panel data (merged with patent-level data) with geographical in…
Need help to add observations for each category.Hi Everyone, I am trying to find the total of the variables in stata but keep getting error message…
Subscribe to:
Post Comments (Atom)
0 Response to Collapsing two variables that occur multiple times
Post a Comment