The package provides convenience functions to access Polish sejm API and retrieve information on parties, MPs, votes, interpellations, committees etc
It also provides a shiny app to interactively browse information on Polish sejm.
You can install the development version of {sejm} like so:
remotes::install_github("mic-wypych/sejm")You can launch the application by running (note this is not operational yet)
sejm::run_app() All functions for accessing data from the Sejm API start with get_.
E.g. get_parties() will get basic data on the parties in Polish sejm
like their names, members count and contact info.
sejm::get_parties()You are reading the doc about version : 0.0.0.9000
This README has been compiled on the
Sys.time()
#> [1] "2025-06-17 21:17:52 CEST"Here are the tests results and package coverage:
devtools::check(quiet = TRUE)
#> ℹ Loading sejm
#> Writing 'get_committees.Rd'
#> Deleting 'get_comittees.Rd'
#> ── R CMD check results ──────────────────────────────────── sejm 0.0.0.9000 ────
#> Duration: 17m 5.5s
#>
#> ❯ checking for future file timestamps ... NOTE
#> unable to verify current time
#>
#> 0 errors ✔ | 0 warnings ✔ | 1 note ✖covr::package_coverage()
#> sejm Coverage: 91.73%
#> R/run_app.R: 0.00%
#> R/app_config.R: 100.00%
#> R/app_ui.R: 100.00%
#> R/get_bil_groups.R: 100.00%
#> R/get_bil_groups_members.R: 100.00%
#> R/get_committees.R: 100.00%
#> R/get_interpellations.R: 100.00%
#> R/get_legislation.R: 100.00%
#> R/get_mp_votes.R: 100.00%
#> R/get_mps.R: 100.00%
#> R/get_parties.R: 100.00%
#> R/get_proceedings.R: 100.00%
#> R/get_questions.R: 100.00%
#> R/get_votes.R: 100.00%