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,076–9,100 of 9,738

entry_scan, page 364 of 390
scan_idINTEGERticket_id→ ticket.ticket_identrance_id→ entrance.entrance_idscanned_atTEXTis_first_entryINTEGERtransport_modeTEXT
9076892412019-11-05 10:02:151Bus
9077894612019-11-05 10:02:211Bus
9078894312019-11-05 10:02:351Bus
9079892812019-11-05 10:02:421Bus
9080893812019-11-05 10:02:431Bus
9081893612019-11-05 10:02:541Bus
9082894712019-11-05 10:03:031Bus
9083894512019-11-05 10:03:571Bus
9084894212019-11-05 10:05:341Bus
9085894412019-11-05 10:06:001Bus
9086936622019-11-06 09:09:581Metro
9087936722019-11-06 09:10:011Metro
9088933812019-11-06 09:32:021Walk
9089933712019-11-06 09:32:061Walk
9090936832019-11-07 09:15:141Metro
9091936932019-11-07 09:15:361Metro
9092935732019-11-07 09:49:341Metro
9093935832019-11-07 09:49:421Metro
9094934732019-11-07 12:52:441Bus
9095934632019-11-07 12:53:181Bus
9096937012019-11-07 14:06:241Walk
9097937352019-11-08 10:07:291Metro
9098937452019-11-08 10:08:061Metro
9099937822019-11-08 12:40:221Bus
9100929112019-11-08 12:51:251Taxi
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;