statement_header: Get statement Bio Data

Description Usage Arguments Value Examples

View source: R/mpesa_file.R

Description

This function enables you to extract biodata information from an MPESA statement.

Usage

1

Arguments

rawfile

MPESA pdf file formated by mpesa_file() function

Value

statement_header(rawfile) returns tidy dataframe of MPESA statement header information

Examples

1
2
3
4
5
6
library(mpesaR)
rawfile = mpesa_file()
statement_header(rawfile)
#using pipe operator
mpesa_file("path/to/MPESAfile.pdf","my_national_id") %>%
statement_header()

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