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,001–8,025 of 9,738

entry_scan, page 321 of 390
scan_idINTEGERticket_id→ ticket.ticket_identrance_id→ entrance.entrance_idscanned_atTEXTis_first_entryINTEGERtransport_modeTEXT
8001755942019-05-17 10:39:431Bus
8002756442019-05-17 10:39:511Bus
8003755142019-05-17 10:40:031Bus
8004756142019-05-17 10:40:031Bus
8005757242019-05-17 10:40:121Bus
8006756742019-05-17 10:40:431Bus
8007756842019-05-17 10:40:531Bus
8008756942019-05-17 10:41:031Bus
8009757342019-05-17 10:43:071Bus
8010821512019-05-17 12:37:010NULL
8011821332019-05-17 12:57:290NULL
8012821432019-05-17 13:31:290NULL
8013824112019-05-17 14:29:001Walk
8014824012019-05-17 14:29:281Walk
8015823812019-05-18 11:54:441Other
8016823912019-05-18 11:54:571Other
8017824912019-05-19 10:56:441Private Vehicle
8018825012019-05-19 10:56:481Private Vehicle
8019824632019-05-19 11:46:311Walk
8020824532019-05-19 11:46:381Walk
8021824832019-05-19 11:46:471Walk
8022824732019-05-19 11:47:051Walk
8023825112019-05-19 12:54:181Private Vehicle
8024825212019-05-19 12:54:321Private Vehicle
8025825312019-05-20 10:20:461Taxi
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;