datopy.modeling.BaseProcessor#

class BaseProcessor(
model: BaseModel,
query: NamedTuple,
)[source]#

Bases: object

_summary_

Parameters:
  • model (BaseModel) – _description_

  • query (NamedTuple) – _description_

Methods

process()

Process (extract/clean) retrieved data.

retrieve()

Retrieve data for the query from the API of the supplied model.

to_df()

Load the data into a dataframe for further processing or analysis.

process()[source]#

Process (extract/clean) retrieved data.

Raises:

NotImplementedError – _description_:

retrieve()[source]#

Retrieve data for the query from the API of the supplied model.

Raises:

NotImplementedError – _description_:

to_df()[source]#

Load the data into a dataframe for further processing or analysis.