# to appease R CMD check
# most of these are in R/app.R
utils::globalVariables(
c("variable", "value", "ID", "Electorate", "State", "BallotPosition",
"PartyAb", "OrdinaryVotes", "formal", "total_formal", "fill", "prop",
"xcent", "ycent", "x", "y", "group", "lat", "long", "Elected",
"PartyNm", "difference", "nseats", "Total_OrdinaryVotes_in_electorate",
"Average_Australian_Labor_Party_Percentage_in_electorate",
"Average_Liberal_National_Coalition_Percentage_in_electorate",
"Average_Australian_Labor_Party_Percentage_in_electorate",
"Average_Liberal_National_Coalition_Percentage_in_electorate",
"Total_OrdinaryVotes_in_electorate", "aec2013_2cp_electorate",
"GivenNm", "Surname", "TotalVotes", "FullName", "parties",
"candidates","tooltip"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.