Dear all,
I have a database with five columns:
- country: the name of the country
- year: the year
- leader: the name of the leader in the country for the given year
- ideology: the leader's ideology (left, right, centre)
- party: corresponds to the political party of the leader
For the different countries, I have information from 1945 to 2020 (sometimes less if the country is more recent).
I would like to create three ‘tag’ variables:
- a variable that is 1 when there is a change of leader at the head of the government,
- a variable that is 1 when there is a change of ideology at the head of the government,
- a variable that is 1 when there is a change of party at the head of the government.
Could you help me?
Thank you!
I have a database with five columns:
- country: the name of the country
- year: the year
- leader: the name of the leader in the country for the given year
- ideology: the leader's ideology (left, right, centre)
- party: corresponds to the political party of the leader
For the different countries, I have information from 1945 to 2020 (sometimes less if the country is more recent).
I would like to create three ‘tag’ variables:
- a variable that is 1 when there is a change of leader at the head of the government,
- a variable that is 1 when there is a change of ideology at the head of the government,
- a variable that is 1 when there is a change of party at the head of the government.
Could you help me?
Thank you!
Comment