congress_in_year: Calculate the Congress number of a given year

View source: R/congresses_and_years.R

congress_in_yearR Documentation

Calculate the Congress number of a given year

Description

This function gives the number of the Congress for a specified calendar year.

Usage

congress_in_year(year)

Arguments

year

Either a number or a Date object. Cannot be earlier than 1789, the year of the first Congress.

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.

Examples

congress_in_year(1800)
congress_in_year(2022)

filibustr documentation built on April 4, 2025, 3:43 a.m.