Skip to content

Provides access to the records of parliamentary questions through the Legislative Yuan's V1 API interface.

Usage

get_parlquestions(term = NULL, session_period = NULL, verbose = TRUE)

Arguments

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 參數必須為數值。 review_session_info() generates each session period available option period in Minguo (Taiwan) calendar.

verbose

logical, indicates whether get_parlquestions should print out detailed output when retrieving the data. The default is TRUE.

Value

A list containing:

title

the records of parliamentary questions

query_time

the queried time

retrieved_number

the total number of observations

retrieved_term

the queried term

url

the retrieved json url

variable_names

the variables of the tibble dataframe

manual_info

the offical manual from https://data.ly.gov.tw/getds.action?id=6, or use get_variable_info("get_parlquestions")

data

a tibble dataframe, whose variables include:

term

屆別

sessionPeriod

會期

sessionTimes

會次

item

項目

selectTerm

屆別期別篩選條件

Details

get_parlquestions produces a list, which contains title, query_time, retrieved_number, retrieved_term, url, variable_names, manual_info, and data.

Note

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會期起)。

See also

get_variable_info("get_parlquestions")

Author

Yen-Chieh Liao (davidycliao@gmail.com)

Examples

if (FALSE) { # \dontrun{
term10 <- get_parlquestions(term = 10, session_period = 1)
term10
} # }