Skip to contents

Returns a legiscan Master List for a specified session or the most recent regular session if only state is provided

Usage

getMasterList(session = NULL, state = NULL, legiKey = NULL)

Arguments

session

Session id integer value. Can be found with `getSessions`

state

US state abbreviation

legiKey

32 character string provided by legiscan

Value

Master List in dataframe format

Examples

getMasterList(session = 2108)
#> Warning: Invalid API Key:  Register <https://legiscan.com/user/register> Store with `setlegiKey`
#> [1] "Invalid API Key:  Register <https://legiscan.com/user/register> Store with `setlegiKey`"
getMasterList(state = "TX")
#> Warning: Invalid API Key:  Register <https://legiscan.com/user/register> Store with `setlegiKey`
#> [1] "Invalid API Key:  Register <https://legiscan.com/user/register> Store with `setlegiKey`"