View source: R/parlquestions.R
| get_parlquestions | R Documentation |
Provides access to the records of parliamentary questions through the Legislative Yuan's V1 API interface.
get_parlquestions(term = NULL, session_period = NULL, verbose = TRUE)
term |
numeric or NULL. The default is set to NULL. 參數必須為數值。 |
session_period |
integer, numeric or NULL. Available
options for the session is: 1, 2, 3, 4, 5, 6, 7, and 8. The default is set to 8 參數必須為數值。
|
verbose |
logical, indicates whether |
get_parlquestions produces a list, which contains title,
query_time, retrieved_number, retrieved_term, url, variable_names,
manual_info, and data.
A list containing:
titlethe records of parliamentary questions
query_timethe queried time
retrieved_numberthe total number of observations
retrieved_termthe queried term
urlthe retrieved json url
variable_namesthe variables of the tibble dataframe
manual_infothe offical manual from https://data.ly.gov.tw/getds.action?id=6, or use get_variable_info("get_parlquestions")
dataa tibble dataframe, whose variables include:
term屆別
sessionPeriod會期
sessionTimes會次
item項目
selectTerm屆別期別篩選條件
To retrieve the user manual and more information about variable of the data
frame, please use get_variable_info("get_parlquestions")
or visit the API manual at https://data.ly.gov.tw/getds.action?id=6.
質詢類: 提供議事日程本院委員之質詢事項資訊(自第8屆第1會期起)。
Yen-Chieh Liao (davidycliao@gmail.com)
get_variable_info("get_parlquestions")
## Not run:
term10 <- get_parlquestions(term = 10, session_period = 1)
term10
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.