# 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 of a certain office, candidate and category
bills <- Votes.getBillsByOfficialCategoryOffice(list(30,10),9490,6)
bills
Run the code above in your browser using DataLab