# First, make sure your personal PVS API key is saved as character string in the pvs.key variable:
pvs.key <- "yourkey"
# get main biographical data on Barak Obama and Mitt Romney
bio <- CandidateBio.getBio(list(9490,21942))
bio
Run the code above in your browser using DataLab