diff --git a/src/bahnhofname.gleam b/src/bahnhofname.gleam index 708aca6..d331b64 100644 --- a/src/bahnhofname.gleam +++ b/src/bahnhofname.gleam @@ -176,6 +176,8 @@ fn read_csv() -> List(#(String, String)) { contents // the file doesn't use quotes, so this is fine |> string.split(on: "\n") + // drop CSV header + |> list.drop(1) |> list.map(fn(a) { string.split(a, on: ";") }) |> list.filter_map(fn(fields) { case fields {