# First, make sure your personal PVS API key is saved as character string in the pvs.key variable:
pvs.key <- "yourkey"
# get a list of bills for a certain candidate and category
bills <- Votes.getBillsBySponsorCategory(as.list(1:50),107800)
bills
Run the code above in your browser using DataLab