Plot histogram chart for transaction statistics for a single category in an account over a period of time
1 2 3 4 5 6 7 8 9 10 11 | plot_transaction_trend(
category_to_filter = "all",
account_to_filter = "all",
transaction_type_to_filter = "all",
start_time = NULL,
end_time = NULL,
description_pattern = ".*",
cleaned_file = "expenses_clean.rds",
bin_by = "month",
agg_type = "sum"
)
|
category_to_filter |
The Monefy 'category' for which the chart has to be plotted. This can be a vector of categories to plot for more than one. Also, use 'all' for selecting all categories |
account_to_filter |
The Monefy 'account' for which the chart has to be plotted. This can be a vector of accounts to plot for more than one. Also, use 'all' for selecting all accounts |
transaction_type_to_filter |
The transaction type for which the chart has to be plotted. This could be either "income" or "expense". Use 'all' for selecting both - this will consider amount as is, which means expenses will have the value of 'amount' as negative |
start_time |
start time from which histogram should be plotted. Default - start of data |
end_time |
end time from which histogram should be plotted. Default - end of data |
description_pattern |
regex pattern to match transaction description |
cleaned_file |
path to the cleaned and ready to consume file with Monefy data. To create clean file, use |
bin_by |
the period to bin the aggregation. Default - 'month' |
agg_type |
the type of summary stat to be plotted. One of "sum", "count" or "mean". Default - "sum" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.