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 4,026–4,050 of 9,738

entry_scan, page 162 of 390
scan_idINTEGERticket_id→ ticket.ticket_identrance_id→ entrance.entrance_idscanned_atTEXTis_first_entryINTEGERtransport_modeTEXT
4026368042017-07-02 10:04:191Bus
4027367242017-07-02 10:04:231Bus
4028366942017-07-02 10:04:341Bus
4029367142017-07-02 10:04:371Bus
4030367042017-07-02 10:04:491Bus
4031367742017-07-02 10:04:551Bus
4032416612017-07-03 11:06:581Bus
4033416512017-07-03 11:07:021Bus
4034407352017-07-03 11:59:251Walk
4035407452017-07-03 11:59:441Walk
4036416742017-07-04 11:44:061Metro
4037416812017-07-04 14:27:411Walk
4038405842017-07-05 09:47:051Metro
4039414522017-07-05 10:38:481Metro
4040414722017-07-05 10:38:541Metro
4041414422017-07-05 10:38:561Metro
4042414622017-07-05 10:39:041Metro
4043417422017-07-05 11:10:191Private Vehicle
4044416922017-07-05 11:57:541Metro
4045417022017-07-05 11:58:371Metro
4046405842017-07-05 13:22:090NULL
4047417532017-07-05 13:58:431Metro
4048414822017-07-06 09:05:141Taxi
4049414922017-07-06 09:05:161Taxi
4050414142017-07-06 15:08:521Metro
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;