# 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 ballot measures for a certain state and year
measures <- Measure.getMeasuresByYearState(list(2010,2012),"FL")
measures
Run the code above in your browser using DataLab