Local Call Report Data
Overview
The local acces call report library assumes that you have downloaded the call report data
as zip files from
Zip File Download.
Download each file and place them in a folder named "call-reports" within the data folder
of your workspace. (i.e. "./data/call-reports/")
The local_call_reports.py script contains code to read and parse the data in the local zip files.
All data is returned as a string. That is, you will have to convert the data to a numeric type if
you want. (that is, the library simply parses and returns the contents in a text file. IN order to accomodate
errors in the file, it returns the values in the file without trying to convert them)
The full script is given here :
Full Script
Example Usage
import lib.data.call_reports_local as cl
#get a list of the files
fls = cl.files()
#get a list of teh banks
banks = cl.banks()
#get the field RCONN523 in the file RCM for the bank with id 1351
test = cl.get('1351','RCM.RCONN523')