statement_out: Where did expense come from?

Description Usage Arguments Value Examples

Description

Quckly generate and extract vital information on where most expenses come from.

Quckly generate and extract vital information on where most expenses come from.

Usage

1
2
3
statement_out(statement)

statement_out(statement)

Arguments

statement

This is the full MPESA statement table generated by statement_full() function.Please note that this function does not work without the statement.

Value

statement_out(statement) returns a dataframe with a list of sources of expenses

statement_out(statement) returns a dataframe with a list of sources of expenses

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
library(mpesaR)
statement <- statement_full(rawfile)
statement_out(statement)
#using the pipe ( %>% ) operator
mpesa_file("path/to/MPESAfile.pdf","MYSECRETPASWWORD") %>%
statement_full() %>%
statement_out()
library(mpesaR)
statement <- statement_full(rawfile)
statement_out(statement)
#using the pipe ( %>% ) operator
mpesa_file("path/to/MPESAfile.pdf","MYSECRETPASWWORD") %>%
statement_full() %>%
statement_out()

GeorgeOduor/mpesaR documentation built on April 30, 2020, 12:35 p.m.