redefine_generation: Redefine when a generation starts and ends

Description Usage Arguments Details Examples

View source: R/setters.R

Description

Not all people agree on when a generation started and ended. This is especially true with the most recent few generations. The years I have chosen come from Howe & Strauss' book. This function lets you redefine the start and end years of a generation to fit your personal tastes.

Usage

1

Arguments

generation

a string, exactly matching a generation's name

start

an integer, representing the year you want generation to start at

end

an integer, representing thet year you want generation to end at.

Details

The changes here modify the underlying data and will be reflected in any subsequent reference to the generational data. You can view what the current dataset is with show_generations. Any change you make can be reset using reset_generations.

Examples

1
2
redefine_generation("Millennial", 1980, 1997)
show_generations()

JoeyStanley/generations documentation built on Dec. 31, 2020, 2:03 p.m.