Description Usage Arguments Value Examples
Gives you the transaction period from the start of the statement?.
1 | statement_period(rawfile)
|
rawfile |
MPESA pdf file formated by mpesa_file() function |
statement_period(rawfile)
returns period difference
1 2 3 4 5 6 7 | library(mpesaR)
statement <- statement_full(rawfile)
statement_period(statement)
#using the pipe ( %>% ) operator
mpesa_file("path/to/MPESAfile.pdf","MYSECRETPASWWORD") %>%
statement_full() %>%
statement_period()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.