I got one columb that’s in yearsmonth , one column of states and another column for spending. I want to take avg spending for a state in a year and start a new column/variable with the info in it. Ex State_fips state_pc yearmonth spend 2. AK. 201202 3 AK. 201201 2. SD 201203 3. SD. 201304 3
... View more