The parlnet.csv
and parlnet.rda
files are taken from the parlnet
project as of June 2018. Please refer to the parlnet appendix
for detailed construction notes.
The other data files produced by this project are documented below.
Running 1_extract_cosponsorships.r
produces the following CSV dataset:
network
--parlnet
ID for the cosponsorship networki
-- (country/chamber-specific) numeric ID of the cosponsorj
-- (country/chamber-specific) numeric ID of the sponsor/first authorw
-- raw number of cosponsorships from cosponsori
to first authorj
p_i
-- party affiliation ofi
p_j
-- party affiliation ofj
lr_i
-- left/right ideological score ofi
(party-level, time-invariant)lr_j
-- left/right ideological score ofj
(party-level, time-invariant)ny_i
-- seniority ofi
(in years)ny_j
-- seniority ofj
(in years)gd_i
-- gender ofi
("M" or "F")gd_j
-- gender ofj
("M" or "F")g_i
-- whetheri
participates in a government coalitiong_j
-- whetherj
participates in a government coalition
See the parlnet-appendix paper for measurement details.
Running 2_create_unbalanced_panel.r
produces the following CSV dataset:
id
-- panel ID (country_chamber.party
)t
-- time period (start year of the legislature)p_j
-- partyg_j
-- whether party participates in a government coalitionlr_j
-- left/right ideological score of party (time-invariant)lr_ij_sd
-- mean ideological distance between sponsor and cosponsor partiesp_wap
-- fraction of cosponsorships across (i.e. from other) partiesp_wag
-- fraction of cosponsorships across coalitionn_j
-- number of sponsors in partyp_sen
-- fraction of senior party members (see note)p_fem
-- fraction of female party members
Note -- senior party members are those who were in office for 1+ year(s) when the legislature started.
Running 3_fractional_regressions.r
produces a serialised R data file that
contains fractional regression models of class frm
, as provided by the
frm
package.
See Joaquim J.S. Ramalho's "Fractional Regression Models" page for code and papers.