# NOT RUN {
# }
# NOT RUN {
fedvotes <- get_nationalvotes(geolevel = "canton",from_date = "2010-03-07",to_date="2019-02-10")
#Find correlating votes for the 'Zersiedelungsinitiative', 2019-02-10
results <- similar_votes(fedvotes, id=6260)
#Zersiedelungsinitiative, 2019-02-10, filter stronger correlations (>0.5)
results <- similar_votes(fedvotes, id=6260, from = 0.5)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab