reportcompiler.plugins.data_fetchers.sqlite

sqlite.py

This module includes the data fetcher using SQLite.

Classes

class reportcompiler.plugins.data_fetchers.sqlite.SQLiteFetcher

Data fetcher for SQLite databases.

Inheritance

Inheritance diagram of SQLiteFetcher
fetch(doc_param, fetcher_info, metadata)

Fetches the necessary data for the current fragment.

Parameters:
  • doc_param (OrderedDict) – Document variable
  • fetcher_info (dict) – Information about the current fetcher (multiple can be used for fragment)
  • metadata (dict) – Document metadata (overriden by fragment metadata when specified)
Returns:

Dataframe (or list of dataframes)

Return type:

pandas.DataFrame