year_of_congress {filibustr}R Documentation

Get the starting year of a Congress

Description

This function gives the first year for a specified Congress number.

Usage

year_of_congress(congress)

Arguments

congress

A positive whole number.

Details

A new Congress begins in every odd-numbered year, starting in 1789. For example, 2021-2022 was the 117th Congress.

Value

A positive whole number, representing the first year of the given Congress. This year will always be an odd number.

Examples

year_of_congress(1)
year_of_congress(118)

[Package filibustr version 0.4.0 Index]