create_plotlist()
Export all plots for a report by calling export_plot for each item in meta_list.
Usage
create_plotlist(
meta_list, snr, year, audience, report, data, ubb=False, export=True
)Parameters
meta_list: list[str]-
List of plot names (e.g. [‘A11’, ‘A12’, …]).
snr: str-
School number.
year: str or int-
School year.
audience: str-
Audience type (e.g. ‘sus’, ‘elt’).
report: str-
Report template name.
data: pd.DataFrame-
Long-format survey response data.
ubb: bool = False-
Whether this is a classroom observation report.
export: bool = True- If True, saves plots to PDF; if False, returns plot objects.
Returns
list- List of return values from export_plot (None when export=True).