get_df_with_selected_time_period.Rd
Get data frame for specified time period
get_df_with_selected_time_period(df, nb_period = NULL, period_type = "max")
A data frame containing a panel.
An integer indicating the number of months. Default is NULL. Does not need to be specified for period_type max and ytd.
A single character string. Default max. Possible values max, ytd, weeks and months.
A data frame containing the original data frame only for the specified time period.