# NOT RUN {
# Load data
data(ex_sales)
# Convert to period df
hpi_data <- dateToPeriod(trans_df = ex_sales,
date = 'sale_date',
periodicity = 'monthly')
# }
Run the code above in your browser using DataLab