# First, make sure your personal PVS API key is saved as character string in the pvs.key variable:
pvs.key <- "yourkey"
# get data of a certain election
election <- Election.getElection(as.list(2595:2607))
election
Run the code above in your browser using DataLab