View source: R/prepare_report.R
prepare_report | R Documentation |
Prepare all required information for a full crypto tax report.
prepare_report( formatted.ACB, tax.year = "all", local.timezone = Sys.timezone(), list.prices = NULL )
formatted.ACB |
The |
tax.year |
The tax year desired. |
local.timezone |
Which time zone to use for the date of the report. |
list.prices |
A |
A list, containing the following objects: report.overview, report.summary, proceeds, sup.losses, table.revenues, tax.box, pie_exchange, pie_revenue.
list.prices <- prepare_list_prices(coins = "BTC", start.date = "2021-01-01") all.data <- format_shakepay(data_shakepay) formatted.ACB <- format_ACB(all.data, verbose = FALSE) x <- prepare_report(formatted.ACB, list.prices = list.prices) x$proceeds
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.