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,651–9,675 of 9,738

entry_scan, page 387 of 390
scan_idINTEGERticket_id→ ticket.ticket_identrance_id→ entrance.entrance_idscanned_atTEXTis_first_entryINTEGERtransport_modeTEXT
9651974412020-02-05 12:25:141Bus
9652977122020-02-05 13:26:361Walk
9653976922020-02-05 13:27:031Walk
9654977222020-02-05 13:27:061Walk
9655977022020-02-05 13:27:071Walk
9656977652020-02-06 09:02:261Taxi
9657977552020-02-06 09:02:341Taxi
9658975012020-02-07 13:18:321Metro
9659978132020-02-08 09:01:061Walk
9660978342020-02-08 10:08:071Bus
9661978242020-02-08 10:08:431Bus
9662977822020-02-09 09:18:411Metro
9663977722020-02-09 09:18:431Metro
9664975512020-02-09 11:17:091Walk
9665975412020-02-09 11:17:461Walk
9666966312020-02-09 11:43:591Walk
9667966212020-02-09 11:44:121Walk
9668978912020-02-09 14:19:441Walk
9669978812020-02-09 14:19:511Walk
9670978712020-02-09 16:33:081Walk
9671973132020-02-10 15:45:491Walk
9672978512020-02-11 10:10:331Train
9673978412020-02-11 10:10:421Train
9674978622020-02-11 10:57:121Private Vehicle
9675979012020-02-11 13:37:551Metro
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;