Skip to contents

Add column for year if it doesn't exist in the rawdata

Usage

do_year(dt = NULL, year = NULL)

Arguments

dt

Input data preferrably in a data.table format but is not mandatory

year

Output from get_year()