I’m putting together some functions to help summarize temporal data in fiscal quarters. Function I have will take a date—e.g. `2017-01-01`—and spit out factored character value that corresponds—e.g. `”1Q2017”`. I’m using my data to create graphs in ggplot. But since I factor the quarters, I can’t use attributes like `geom_line()` to connect my data points, like you would for dates.

Can I create a data type for quarters that displays as quarters but behaves like dates? How would I do this?