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 901–925 of 9,738

entry_scan, page 37 of 390
scan_idINTEGERticket_id→ ticket.ticket_identrance_id→ entrance.entrance_idscanned_atTEXTis_first_entryINTEGERtransport_modeTEXT
90199622015-08-29 12:34:581Metro
90299822015-08-29 12:35:191Metro
903104812015-08-29 13:01:031Walk
904104942015-08-29 14:33:301Walk
90599012015-08-29 14:39:291Walk
906100942015-08-29 14:39:471Private Vehicle
907101042015-08-29 14:40:081Private Vehicle
90893122015-08-29 15:05:190NULL
90993022015-08-29 15:47:120NULL
91092922015-08-29 16:00:470NULL
911105112015-08-29 16:38:561Metro
912105012015-08-29 16:39:061Metro
91392812015-08-30 09:09:041Walk
914103242015-08-30 10:58:151Walk
915103342015-08-30 10:58:271Walk
91698822015-08-30 12:56:051Metro
917104252015-08-30 13:16:541Taxi
918104352015-08-30 13:16:581Taxi
919102922015-08-30 14:39:161Private Vehicle
920105512015-08-31 10:02:531Walk
921105632015-08-31 10:14:381Taxi
922105732015-08-31 10:14:451Taxi
923106122015-08-31 11:25:071Bus
924105922015-08-31 11:25:121Bus
925106022015-08-31 11:25:201Bus
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;