# 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 officials by state and office ID
officials <- Officials.getByOfficeState(,as.list(60:69))
officials
Run the code above in your browser using DataLab