Usage
readKH(file,
dtl=NULL,
yea=c(1,2,3),
nay=c(4,5,6),
missing=c(7,8,9),
notInLegis=0,
desc=NULL,
debug=FALSE)Arguments
file
string, name of a file or URL holding KH data
dtl
string, name of a file or URL holding KH dtl file
(information about votes); default is NULL, indicating no
dtl file
yea
numeric, possibly a vector, code(s) for a Yea vote in the
rollcall context (or a correct answer in the educational testing
context). Default is c(1,2,3), which corresponds to Yea,
Paired Yea, and Announced Yea in Poole/Rosenthal d
nay
numeric, possibly a vector, code(s) for a Nay vote in the
rollcall context (or an incorrect answer in the educational testing
context). Default is c(4,5,6), which corresponds to
Announced Nay, Paired Nay, and Nay in Poole/Rosenth
missing
numeric and/or NA, possible a vector, code(s)
for missing data. Default is c(0,7,8,9,NA); the first four
codes correspond to Not Yet a Member, Present (some Congresses),
Present (some Congresses), and Not Voting.
notInLegis
numeric or NA, possibly a vector, code(s) for
the legislator not being in the legislature when a particular roll
call was recorded (e.g., deceased, retired, yet to be
elected). Default is 0 for Poole/Rosenthal data fi
desc
string, describing the data, e.g., 82nd U.S. House
of Representatives; default is NULL
debug
logical, print debugging information for net connection