Description Usage Arguments Details Examples
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.
1 | redefine_generation(generation, start, end)
|
generation |
a string, exactly matching a generation's name |
start |
an integer, representing the year you want |
end |
an integer, representing thet year you want |
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
.
1 2 | redefine_generation("Millennial", 1980, 1997)
show_generations()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.