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 7,051–7,075 of 9,738

entry_scan, page 283 of 390
scan_idINTEGERticket_id→ ticket.ticket_identrance_id→ entrance.entrance_idscanned_atTEXTis_first_entryINTEGERtransport_modeTEXT
7051717622018-12-18 14:10:571Walk
7052717722018-12-18 14:11:101Walk
7053728622018-12-19 09:12:311Private Vehicle
7054728522018-12-19 09:12:321Private Vehicle
7055727912018-12-19 12:34:231Taxi
7056728922018-12-19 14:08:121Private Vehicle
7057729112018-12-20 09:40:491Metro
7058729012018-12-20 09:41:021Metro
7059728032018-12-20 10:48:341Metro
7060729012018-12-20 12:12:570NULL
7061729152018-12-20 12:46:080NULL
7062733812018-12-22 10:17:361Bus
7063733512018-12-22 10:17:381Bus
7064733712018-12-22 10:17:421Bus
7065733912018-12-22 10:17:491Bus
7066733612018-12-22 10:17:561Bus
7067724022018-12-22 11:11:391Private Vehicle
7068723722018-12-22 11:11:411Private Vehicle
7069723822018-12-22 11:11:561Private Vehicle
7070723922018-12-22 11:12:151Private Vehicle
7071734212018-12-23 13:32:581Walk
7072734012018-12-23 13:33:101Walk
7073734112018-12-23 13:33:131Walk
7074720212018-12-23 13:36:191Walk
7075728432018-12-23 13:49:281Bus
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;