summary_w2.Rd
This function reads W2 data from an Excel file for a given year, calculates the total amount for each person and category, and generates a summary table.
summary_w2(year, by_person = FALSE)
A flextable object representing the summary table of W2 data for the specified year.