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!
Related Posts with Collapsing time series data by geography
has problem with : recode with more than one if conditionDear All, I have two variables V1 and V2 . V2 has the option (1= Control , 2= CBE, 3=Government) …
How to remove " and "?Dear All, I have this dataset: Code: * Example generated by -dataex-. To install: ssc install datae…
Draw figure like this?Dear All, I have this dataset Code: * Example generated by -dataex-. To install: ssc install dataex…
Problems with generating group identifierDear all, I'm having a problem with making a variable that identifies a group. I have a data set wi…
Identify life events in panel dataHi Statalist. I would like to be able to identify life events within a panel dataset with multiple w…
Subscribe to:
Post Comments (Atom)
0 Response to Collapsing time series data by geography
Post a Comment