Description Usage Arguments Value Examples
Computes net worth for a vector of dates. Computes net worth at the beginning of the day before any transactions have occurred.
1 2 3 4 5 6 7 8 9 |
file |
Filename for a ledger, hledger, or beancount file. |
date |
Vector of dates to compute net worth for. For each only the transactions (and price statements) before that date are used in the net worth calculation. |
include |
Character vector of regular expressions of accounts to include in the net worth calculation.
Use |
exclude |
Character vector of regular expressions of accounts to exclude from the net worth calculation.
Use |
flags |
Extra flags to pass to |
toolchain |
Toolchain used to read in register. Either "ledger", "hledger", "bean-report_ledger", or "bean-report_hledger". |
ignore_case |
logical value of whether to ignore case in regular expressions or not. |
net_worth
returns a tibble
1 2 3 4 5 6 | ## Not run:
example_beancount_file <- system.file("extdata", "example.beancount", package = "ledger")
net_worth(example_beancount_file)
net_worth(example_beancount_file, c("2016-01-01", "2017-01-01", "2018-01-01"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.