knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(APIpkg)
Get data from parliament API and return the attendance rate, attitude and participation of each member.
The shiny application contains Shiny application that call and use the data from APIpkg package and with use of that data which comes from vott() function, draws a histogram. This histogram is frequency of the vote information based on parties.
The histogram can modify with a sidebar with a slider for approve votes. By slider, user is able to change the number of approve votes pack and get frequency of approve votes inside each pack.
shinyApp(ui = ui, server = server)
APILab devtools::install_github('AqsaIftikhar25/APILab', build_vignettes = TRUE, force = TRUE)
library(APIpkg)
l <- vott("C",2015,2020)
runGitHub (repo = "ShinyAPI", username = "AqsaIftikhar25", ref="main")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.