Description Usage Arguments Details Value Examples
View source: R/parl.questions.R
A function to collect all questions asked by MPs to ministers in the Storting from 1996-1997.
1 | parl.questions(url, nPages)
|
url |
String specifying one of the pages for the session to gather the questions from |
nPages |
Integer specifying how many pages of questions the relevant session has (20 questions per page) |
Each session must be run seperately. All sessions can be combined together with rbind
.
Returns a data frame with one row for each question
1 2 3 4 5 6 7 | url1314 <- "https://www.stortinget.no/no/Saker-og-publikasjoner/Sporsmal/Sporretimesporsmal/?pid=2013-2014&qtid=all&qsqid=all&page=1#list"
quest1314 <- parl.questions(url1314, nPages = 21)
quest1314$session <- "2013-2014"
url1415 <- "https://www.stortinget.no/no/Saker-og-publikasjoner/Sporsmal/Sporretimesporsmal/?pid=2014-2015&qtid=all&qsqid=all&page=1#list"
quest1415 <- parl.questions(url1415, nPages = 19)
quest1415$session <- "2014-2015"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.