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
Gen. new variables based on values for multiple existing variables, TSCS dataDear members, I have put together a data-set with information about military alliances btw states i…
Meta ForestplotHi everyone, I hope someone can help me. When creating a forest of lnRR with the Stata16 new command…
Counts for multiple variablesHello, I am analyzing a hospital dataset which provides demographic, diagnostic, and procedural data…
t-test output table by groupHi all, It may seem a silly question but I'm struggling to create a table with a t test like this o…
create and call subroutine from the same .do fileHi, I have a large piece of code that I would like to break down in several smaller pieces of code …
Subscribe to:
Post Comments (Atom)
0 Response to Collapsing two variables that occur multiple times
Post a Comment