Skip to main content

csv_report

Column selection and renaming for the generated CSV reports.

Each datasource manufacturer arrives with its own spellings, so a report is defined by two structures per source: the ordered columns to emit, and the {original: renamed} map applied to them.

Classes

TrialNotesCSVArgs

class TrialNotesCSVArgs(    columns_for_csv: list[str],    columns_from_data: dict[str, str] | None = None,    columns_to_populate_with_static_values: dict[str, str] | None = None,    eligible_only: bool = True,):

Arguments for the trial notes CSV.

Variables

  • static columns_for_csv : list[str]
  • static columns_from_data : dict[str, str] | None
  • static columns_to_populate_with_static_values : dict[str, str] | None
  • static eligible_only : bool