View source: R/parlquestions.R
| get_executive_response | R Documentation |
Provides access to the records of parliamentary questions through the Legislative Yuan's V1 API interface.
get_executive_response(term = NULL, session_period = NULL, verbose = TRUE)
term |
integer, numeric or NULL. The default is NULL. The data is only available from 8th term. 參數必須為數值。資料從自第8屆起,預設值為8。 |
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 NULL. 參數必須為數值。
|
verbose |
logical, indicates whether |
get_executive_response produces a list, which contains title,
query_time, retrieved_number, retrieved_term, url, variable_names,
manual_info and data. To retrieve the user manual and more information, please
use get_variable_info("get_executive_response").
#'@note To retrieve the user manual and more information about variable of the data
frame, please use get_variable_info("get_executive_response")
or visit the API manual at https://data.ly.gov.tw/getds.action?id=2.
質詢類: 提供公報質詢事項行政院答復資訊 (自第8屆第1會期起)。
list contains:
titlethe records of the questions answered by the executives
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
dataa tibble dataframe, whose variables include:
term屆別
sessionPeriod會期
sessionTimes會次
meetingTimes臨時會會次
eyNumber行政院函公文編號
lyNumber立法院函編號
subject案由
content內容
docUrl案由
item檔案下載位置
item檔案下載位置
selectTerm屆別期別篩選條件
Yen-Chieh Liao (davidycliao@gmail.com)
get_variable_info("get_executive_response"), review_session_info()
## Not run:
## query the Executives' answered response by term and the session period.
## 輸入「立委屆期」與「會期」下載「行政院答復」
term8 <- get_executive_response(term = 8, session_period = 1)
term8
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.