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 9,201–9,225 of 9,738

entry_scan, page 369 of 390
scan_idINTEGERticket_id→ ticket.ticket_identrance_id→ entrance.entrance_idscanned_atTEXTis_first_entryINTEGERtransport_modeTEXT
9201943012019-11-20 11:45:571Walk
9202943112019-11-20 11:46:221Walk
9203943212019-11-20 11:46:401Walk
9204943312019-11-20 11:46:461Walk
9205944312019-11-21 14:56:331Walk
9206944412019-11-21 14:56:461Walk
9207944512019-11-21 14:56:491Walk
9208944612019-11-21 14:56:501Walk
9209944712019-11-21 14:57:201Walk
9210917532019-11-22 11:36:271Walk
9211946212019-11-22 12:20:201Other
9212946112019-11-22 12:20:251Other
9213945912019-11-22 12:20:311Other
9214946012019-11-22 12:20:381Other
9215942732019-11-22 14:50:541Metro
9216942632019-11-22 14:51:151Metro
9217939742019-11-22 16:11:161Walk
9218939842019-11-22 16:11:261Walk
9219946612019-11-23 09:47:241Other
9220946512019-11-23 09:47:261Other
9221946712019-11-23 09:47:441Other
9222945722019-11-23 11:05:361Walk
9223945822019-11-23 11:05:421Walk
9224945422019-11-23 11:05:451Walk
9225945622019-11-23 11:06:031Walk
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;