get_meetings: The Spoken Meeting Records 委員發言

View source: R/meeting.R

get_meetingsR Documentation

The Spoken Meeting Records 委員發言

Description

Provides access to legislators' spoken meeting records through the Legislative Yuan's V1 API interface.

Usage

get_meetings(
  start_date = NULL,
  end_date = NULL,
  meeting_unit = NULL,
  verbose = TRUE
)

Arguments

start_date

numeric Must be formatted in Minguo (Taiwan) calendar, e.g. 1090101.

end_date

numeric Must be formatted in Minguo (Taiwan) calendar, e.g. 1090102.

meeting_unit

NULL The default is NULL, which includes all meeting types between the starting date and the ending date.

verbose

logical, indicates whether get_meetings should print out detailed output when retrieving the data.

Details

get_meetings produces a list, which contains title, query_time, retrieved_number, meeting_unit, start_date_ad, end_date_ad, start_date, end_date, url, variable_names, manual_info and data.

Value

list, which contains:

title

the spoken meeting records

query_time

the query time

retrieved_number

the number of the observation

meeting_unit

the meeting unit

start_date_ad

the start date in POSIXct

end_date_ad

the end date in POSIXct

start_date

the start date in ROC Taiwan calendar

url

the retrieved json url

variable_names

the variables of the tibble dataframe

manual_info

the offical manual, https://www.ly.gov.tw/Pages/List.aspx?nodeid=154; or use get_variable_info("get_meetings")

data

a tibble dataframe, whose variables include:

smeeting_date

會議日期

meeting_status

會議狀態

meeting_name

會議名稱

meeting_content

會議事由

speechers

委員發言名單

meeting_unit

主辦單位

date_ad

西元年

Note

To retrieve the user manual and more information about variable of the data frame, please use get_variable_info("get_meetings") or visit the API manual at https://www.ly.gov.tw/Pages/List.aspx?nodeid=154. 資料似乎不一致,待確認。委員發言(取得最早時間不詳,待檢查。)

Author(s)

Yen-Chieh Liao (davidycliao@gmail.com)

See Also

get_variable_info("get_meetings")

Regarding Minguo calendar, please see https://en.wikipedia.org/wiki/Republic_of_China_calendar.

Examples

## query meeting records by a period of the dates in Minguo (Taiwan) calendar
## 輸入「中華民國民年」下載「委員發言」
get_meetings(start_date = "1050120", end_date = "1050210")

## query meeting records by a period of the dates in Minguo (Taiwan) calendar format
## and a meeting
## 輸入「中華民國民年」與「審查會議或委員會名稱」下載會議審查資訊
get_meetings(start_date = 1060120, end_date = 1070310, meeting_unit = "內政委員會")


yl17124/legisTaiwan documentation built on Jan. 22, 2025, 8:47 p.m.