statement_kpis: Key KPIS

Description Usage Arguments Value Examples

Description

Quckly generate key kpis from the MPESA statement supplied.

Usage

1
statement_kpis(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_kpis(statement) returns key kpis from the mpesa statement

Examples

1
2
3
4
5
6
7
library(mpesaR)
statement <- statement_full(rawfile)
statement_kpis(statement)
#using the pipe ( %>% ) operator
mpesa_file("path/to/MPESAfile.pdf","MYSECRETPASWWORD") %>%
statement_full() %>%
statement_kpis()

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