get_list_of_years: Get a list of all years in between two years

View source: R/database_imports.R

get_list_of_yearsR Documentation

Get a list of all years in between two years

Description

Useful when importing data among many years. Must be exactly two digits (i.e. 1992 would be "92").

Usage

get_list_of_years(start_year, end_year)

Arguments

start_year

start year of list, lowest is 1985.

end_year

end year of list, highest is 2030.

Value

list of dates for years and years_old for data import

Examples

get_list_of_years("99", "14")

jacciz/wisdotcrashdatabase documentation built on June 3, 2023, 2:26 a.m.