Skip to content
Louvre Ops DB

Table

entry_scan

Every entrance scan; only the first of the day records how the visitor travelled.

Replaces in 2020: Entrance, Ticket.Transportation

Rows 2,501–2,525 of 9,738

entry_scan, page 101 of 390
scan_idINTEGERticket_id→ ticket.ticket_identrance_id→ entrance.entrance_idscanned_atTEXTis_first_entryINTEGERtransport_modeTEXT
2501254712016-08-02 09:47:531Metro
2502258312016-08-02 13:41:001Metro
2503256922016-08-02 15:17:401Metro
2504256822016-08-02 15:17:431Metro
2505254152016-08-03 09:22:491Walk
2506253312016-08-04 11:36:551Taxi
2507253212016-08-04 11:37:041Taxi
2508259512016-08-05 12:16:091Bus
2509259412016-08-05 12:16:151Bus
2510260112016-08-06 09:54:441Walk
2511259912016-08-06 09:55:071Walk
2512259812016-08-06 09:55:161Walk
2513260012016-08-06 09:55:231Walk
2514260212016-08-06 14:40:231Metro
2515257452016-08-07 09:52:361Walk
2516257352016-08-07 09:52:391Walk
2517257252016-08-07 09:52:411Walk
2518258722016-08-07 09:56:031Metro
2519258822016-08-07 09:56:091Metro
2520260812016-08-07 12:16:521Bus
2521260912016-08-07 12:17:111Bus
2522260712016-08-07 12:17:201Bus
2523260612016-08-07 12:17:231Bus
2524255922016-08-08 10:40:191Metro
2525260542016-08-09 12:26:551Walk
Table definition
CREATE TABLE entry_scan (
  scan_id        INTEGER PRIMARY KEY,
  ticket_id      INTEGER NOT NULL REFERENCES ticket (ticket_id),
  entrance_id    INTEGER NOT NULL REFERENCES entrance (entrance_id),
  scanned_at     TEXT NOT NULL,
  is_first_entry INTEGER NOT NULL CHECK (is_first_entry IN (0, 1)),
  transport_mode TEXT CHECK (transport_mode IN ('Walk', 'Metro', 'Train', 'Bus', 'Taxi', 'Private Vehicle', 'Other')),
  CHECK ((is_first_entry = 1) = (transport_mode IS NOT NULL))
) STRICT;