Description Usage Arguments Value Examples
get_items
returns a list of budget items matching the specified pattern.
1 | get_items(pattern = ".", env = parent.frame())
|
pattern |
A regular expression describing the names of objects to check. Defaults to all objects |
env |
The environment to look for items. Defaults to the calling environment. |
The output of create_item
is a list of budget items matching the specified pattern.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # Create a paycheck item
paycheck <- create_item( name = "Paycheck"
, amount = 1000
, day = "2016-01-01"
, recurring = "monthly"
)
# Create a rent item
rent <- create_item( name = "Rent"
, amount = -500
, day = "2016-01-05"
, recurring = "monthly"
)
# Get all items
get_items()
# Get only items matching "rent"
get_items("rent")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.