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,351–9,375 of 9,738

entry_scan, page 375 of 390
scan_idINTEGERticket_id→ ticket.ticket_identrance_id→ entrance.entrance_idscanned_atTEXTis_first_entryINTEGERtransport_modeTEXT
9351898942019-12-15 11:11:321Bus
9352899842019-12-15 11:12:111Bus
9353899042019-12-15 11:12:471Bus
9354899442019-12-15 11:13:121Bus
9355899242019-12-15 11:13:171Bus
9356899542019-12-15 11:13:261Bus
9357899342019-12-15 11:13:321Bus
9358900242019-12-15 11:13:381Bus
9359899642019-12-15 11:14:171Bus
9360900042019-12-15 11:15:171Bus
9361900542019-12-15 11:15:461Bus
9362900442019-12-15 11:16:171Bus
9363900842019-12-15 11:16:281Bus
9364951712019-12-15 11:53:131Other
9365951812019-12-15 11:53:241Other
9366944812019-12-15 15:10:461Metro
9367954812019-12-17 10:27:211Walk
9368954712019-12-17 10:27:251Walk
9369950752019-12-17 13:25:541Walk
9370950652019-12-17 13:25:561Walk
9371956512019-12-18 11:16:211Walk
9372956612019-12-18 11:16:311Walk
9373953622019-12-18 11:25:281Private Vehicle
9374935032019-12-18 11:30:271Metro
9375935132019-12-18 11:31:021Metro
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;