Description Usage Arguments Details Value
These are the lowest level functions that have the default ledger locations for loading, saving, and viewing. Higher functions call these to perform these functions or by passing down the chain custom ledgers and file paths or by allowing these to use the defaults.
1 2 3 4 5 6 7 8 | saveLedger(ledger, file = viewLedgerFile())
viewLedger(ledger = read.csv(file), file = viewLedgerFile(),
from = as.Date("1900-01-01"), to = Sys.Date(), on = NULL,
descriptions = NULL, budgets = NULL, amount.ops = NULL,
amounts = NULL, accounts = NULL, suppress = TRUE)
viewLedgerFile(file = NULL, suppress = TRUE)
|
ledger |
Data frame ledger. The ledger where each row is a transaction
and with columns for |
file |
The path for the ledger for loading and saving. Has an underlying
default that needs to be changed in the |
from, to |
Boundaries on the ledger dates. Requires Date class. |
suppress |
Prevents it from printing to the console. All low-level
functions default to |
yr, mo, dy |
Year, month, day. When one of these is |
viewLedger
does the loading of the ledger and is called by
many other functions. Can be used to manually manipulate by calling, and to
view it by calling with suppress = FALSE
. Therefore, calling
viewLedger
with suppress = FALSE
is not recommended, as it
will print out a large dataset to the console.
viewLedger
and each of its date components return a data frame
ledger. viewLedgerFile
returns the character path to the ledger.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.