Skip to contents

Convert Congressional session to the start year of that Congress

Usage

cong_to_firstyear(congress)

Arguments

congress

Integer vector of Congress numbers, such as 119 or c(119, 120).

Value

integer vector of start years

Examples

cong_to_firstyear(1) # 1789
#> [1] 1789
cong_to_firstyear(109) # 2005
#> [1] 2005
cong_to_firstyear(c(108, 109)) # 2003 2005
#> [1] 2003 2005