Description Usage Arguments Value Examples
This function extracts the statement summary at the begining of every mpesa statement file
1  | statement_summary(rawfile)
 | 
rawfile | 
 MPESA pdf file formated by mpesa_file() function  | 
statement_summary(rawfile) returns tidy dataframe of the MPESA summary statistics
1 2 3 4 5  | library(mpesaR)
statement_summary(rawfile)
#using the pipe ( %>% ) operator
mpesa_file("path/to/MPESAfile.pdf","my_national_id") %>%
statement_summary()
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.