crypto_pie: Make a pie chart of your crypto revenues

View source: R/crypto_pie.R

crypto_pieR Documentation

Make a pie chart of your crypto revenues

Description

Format a .csv file from Newton for later ACB processing.

Usage

crypto_pie(table.revenues, by = "exchange")

Arguments

table.revenues

The revenue table to plot

by

To plot by which element, one of c("exchange", "revenue.type").

Value

A ggplot2 object in the form of a pie chart.

Examples

shakepay <- format_shakepay(data_shakepay)
newton <- format_newton(data_newton)
all.data <- merge_exchanges(shakepay, newton)
formatted.ACB <- format_ACB(all.data, verbose = FALSE)
table.revenues <- report_revenues(formatted.ACB)
crypto_pie(table.revenues)
crypto_pie(table.revenues, by = "revenue.type")

cryptoTax documentation built on March 7, 2023, 7:46 p.m.