I have some data about social movements and it includes when social movements occurred. I'm trying to aggregate the data into a bar chart that shows time differences between violent and nonviolent social movements. I have tried using:
collapse(sum) violent nonviolent by(CountryCode)
but get error messages that I cannot use time-series operators on string variables. Does anyone have advice on this? Thanks in advance!