Skip to content

get_variable_info generate each API's endpoint manual returned from the website of Taiwan Legislative Yuan. The avalaible options is: get_bills, get_bills_2, get_meetings, get_caucus_meetings, get_speech_video , get_public_debates, get_parlquestions, get_executive_response and get_committee_record. 僅使用舊版 API 參數。

Usage

get_variable_info(param_)

Arguments

param_

characters. Must be one of options below:

get_bills

get_bills: the records of the bills, see https://data.ly.gov.tw/getds.action?id=6

get_bills_2

the records of legislators and the government proposals, see https://data.ly.gov.tw/getds.action?id=6

get_meetings

the spoken meeting records, see https://www.ly.gov.tw/Pages/List.aspx?nodeid=154

get_caucus_meetings

the meeting records of cross-caucus session, see https://data.ly.gov.tw/getds.action?id=8

get_speech_video

the full video information of meetings and committees, see https://data.ly.gov.tw/getds.action?id=148

get_public_debates

the records of national public debates, see https://data.ly.gov.tw/getds.action?id=7

get_parlquestions

the records of parliamentary questions, see https://data.ly.gov.tw/getds.action?id=6

get_executive_response

the records of the questions answered by the executives, see https://data.ly.gov.tw/getds.action?id=2

Value

list

page_info

information of the end point

reference_url

the url of the page

Details

get_variable_info produces a list, which contains page_info and reference_url.

Author

Yen-Chieh Liao (davidycliao@gmail.com)

Examples

check_caucus <- get_variable_info("get_caucus_meetings")
check_caucus
#> $page_info
#> # A tibble: 12 × 2
#>    `資料集名稱:黨團協商` 資料集描述                                      
#>    <chr>                  <chr>                                           
#>  1 資料目錄               "議事類"                                        
#>  2 資料集說明             "提供公報之黨團協商資訊。(自第8屆第1會期起)"    
#>  3 資料提供者             "議事暨公報資訊網"                              
#>  4 欄位說明               "comYear:卷,comVolume:期,comBookId:冊別,term:屆別,ses…
#>  5 資料集預覽             "HTML預覽<aclass=\"btn_yellow\"href='/openDataset…
#>  6 資料集使用             "使用方式及列表"                                
#>  7 API說明                "API提供參數分別為卷(comYear)、期(comVolume)、冊別(comBookId…
#>  8 連結說明               "https://data.ly.gov.tw/odw/ID8Action.action?co…
#>  9 更新頻率               "每日01時30分"                                  
#> 10 資料筆數               "836"                                           
#> 11 建立時間               "2014-08-18MonAug1806:00:00CST2014"             
#> 12 更新時間               "2025-01-21TueJan2101:31:39CST2025"             
#> 
#> $reference_url
#> [1] "https://data.ly.gov.tw/getds.action?id=8"
#>