# First, make sure your personal PVS API key is saved as character string in the pvs.key variable:
pvs.key <- "yourkey"
# get the candidate rating by a certain special interest group
scorecard <- Rating.getRating(77)
scorecard
Run the code above in your browser using DataLab