pickle_writer
Pickle writing functionality for the devices_rap pipeline.
create_pickle(output_workbooks, output_directory, fin_month, fin_year)
Create a pickle file containing the processed data for all regions. The pickle file will be saved in the output directory with a name that includes the financial year and month.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
output_workbooks
|
dict
|
The processed data for each region |
required |
output_directory
|
Path
|
The path to save the pickle file to |
required |
fin_month
|
str
|
The financial month for which the data is being processed |
required |
fin_year
|
str
|
The financial year for which the data is being processed |
required |
Returns:
| Type | Description |
|---|---|
None
|
|