str50 year str27 state str29 district long regno str110 donortype str109 double amount
"2009-2010" "New york" "A & N Island" 240020003 "Institutional donors" 1738584
"2009-2010" "New york" "A & N Island" 240020003 "Institutional donors" 206663
"2010-2011" New york "A & N Island" 240020003 "Institutional donors" 293930
"2010-2011" "New york" "A & N Island" 240020003 "Institutional donors" 1692164
"2019-2020" "New york" "A & N Island" 240020003 "Institutional donors" 38579
"2019-2020" "New york" "A & N Island" 240020003 "Institutional donors" 988067
I am interested in adding "amount" together for the same "regno" (unique value) for each year. I am hoping to generate new dataset which has summed amount for each regno for each year.
Thanks so much in advance!
Related Posts with Summing dollar amount for each unique id for each year
National level survey dataHello, I have a national level survey dataset. On household level, it has around 5988 observation. B…
graph export, as(pdf) fails to add special characters in the graph legend if inside {fontface "...": ...}Hi, I am trying to export a plot where I include special characters in the legend while I also set t…
Shortcut for generating new variables based on many existingI have groups of variables contactoutcome_con_<y>_<x> and contactmethod_con_<y>_&l…
Possible to put interaction terms of X and indictors of Y quintile in a regression?Dear Statalist users, I am wondering if I would estimate a regression like this: Y = X + X * Y_Q2 …
how to replace/recode variables that are a multiple of some numberHi I have a variable "level" that ranges from 1 to 125 I would like to recode it into a variable "pi…
Subscribe to:
Post Comments (Atom)
0 Response to Summing dollar amount for each unique id for each year
Post a Comment