get_debates: 'get_debates' Get the number of debates each Member spoke in...

View source: R/hansard_debates_functions.R

get_debatesR Documentation

get_debates Get the number of debates each Member spoke in during a defined period

Description

get_debates Get the number of debates each Member spoke in during a defined period

Usage

get_debates(members = MEMBERS, start_date, end_date = Sys.Date())

Arguments

members

A tibble with Member data, including a MNIS ID (constant given as default)

start_date

The start date of the period of interest ("yyyy-mm-dd")

end_date

The end date of the period of interest ("yyyy-mm-dd"), set to today as default

Value

A tibble incuding for each current MP their url and the total number of debates they spoke in


eliseuberoi/clmpdashboard documentation built on Jan. 29, 2023, 10:57 p.m.