Skip to content

HRDF import validator #2

Description

@vasile

From #6
Als PO ODPCH / PO OJP
will ich den auf der ODPCH bereitgestellten HRDF-Datenexport mit dem Datenexport der Vorwoche vergleichen,
damit ich sicherstellen kann, dass der Umfang der exportierten Daten korrekt ist bzw. die gleiche Grössenordnung wie in der Vorwoche aufweist.

Akzeptanzkriterien:

  • Wo möglich werden die Files der Datenlieferung über eine ID mit der Datenlieferung der Vorwoche verglichen
  • Wo nicht über eine ID möglich, Für werden die Files über die Anzahl Zeilen mit den entsprechenden Files der Vorwoche verglichen
  • Die Resultate der Vergleiche wird in einem Dashboard / Email visualisiert.

Functionalities

  • check if the number of journeys in HRDF-File is about the same as in the distributed file the week before (it should increase)
  • check if there are lines that were present and are no longer (list them)
  • check if there are operators that were present and are no longer (list them)
  • check if there are new operators (list them) with lines
  • check if there are new lines (list them) with operator
  • check if there are lines without journeys.
  • check if there are lines, where the number of journeys varied a lot (list them)
  • check if there stops that were not there before or no longer there (list them). With new stops, please list the lines.

Assumptions

  • assume that all the ZIPs are already present on the disk - there is no need to download them (yet)
    hrdf_comparison.py check_oev_sammlung_ch_hrdf_5_40_41_2020_20201207_074253.zip oev_sammlung_ch_hrdf_5_40_41_2020_20201129_034343.zip
  • come with best practices params (-- or other notation)

Deliverables

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions