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 8,801–8,825 of 9,738

entry_scan, page 353 of 390
scan_idINTEGERticket_id→ ticket.ticket_identrance_id→ entrance.entrance_idscanned_atTEXTis_first_entryINTEGERtransport_modeTEXT
8801909742019-09-22 12:35:001Walk
8802909842019-09-22 12:35:201Walk
8803909942019-09-22 12:35:221Walk
8804909612019-09-22 13:19:511Bus
8805908642019-09-22 15:31:321Taxi
8806908542019-09-22 15:31:461Taxi
8807910812019-09-23 10:34:051Walk
8808910712019-09-23 10:34:341Walk
8809909212019-09-23 10:45:481Walk
8810909312019-09-23 10:45:491Walk
8811909112019-09-23 10:45:521Walk
8812909012019-09-23 10:46:231Walk
8813908952019-09-24 11:22:521Metro
8814887012019-09-24 11:33:281Metro
8815911512019-09-26 12:52:511Taxi
8816911712019-09-28 09:48:131Metro
8817911812019-09-28 09:48:221Metro
8818912022019-09-29 09:08:441Metro
8819911922019-09-29 09:08:531Metro
8820886922019-09-30 09:30:181Metro
8821887642019-09-30 11:08:331Bus
8822887542019-09-30 11:09:091Bus
8823887542019-09-30 14:03:020NULL
8824887642019-09-30 14:55:240NULL
8825912322019-10-03 09:09:491Metro
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;