create_schedule: Creates a budget schedule

Description Usage Arguments Value Examples

View source: R/create_schedule.R

Description

create_schedule returns a budget schedule.

Usage

1

Arguments

...

A series of budget items separated by commas or a single list of budget items.

Value

The output of create_schedule is a budget item.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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"
                   )

# Create a schedule
my_schedule <- create_schedule(paycheck, rent)
# Inspect
my_schedule

# Using all items in the current environment
my_schedule <- create_schedule(get_items())
# Inspect
my_schedule

derek-damron/budgetr documentation built on Aug. 11, 2020, 2:41 a.m.