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 5,926–5,950 of 9,738

entry_scan, page 238 of 390
scan_idINTEGERticket_id→ ticket.ticket_identrance_id→ entrance.entrance_idscanned_atTEXTis_first_entryINTEGERtransport_modeTEXT
5926599042018-07-17 09:56:551Other
5927598842018-07-17 09:57:031Other
5928600442018-07-17 09:57:031Other
5929598542018-07-17 09:57:201Other
5930600742018-07-17 09:57:241Other
5931600842018-07-17 09:57:311Other
5932599542018-07-17 09:57:451Other
5933601242018-07-17 09:57:591Other
5934600042018-07-17 09:58:351Other
5935598942018-07-17 09:58:411Other
5936599242018-07-17 09:59:231Other
5937600542018-07-17 09:59:251Other
5938599442018-07-17 09:59:511Other
5939601042018-07-17 10:00:151Other
5940600242018-07-17 10:00:191Other
5941599842018-07-17 10:00:471Other
5942599642018-07-17 10:00:551Other
5943599742018-07-17 10:01:101Other
5944600342018-07-17 10:02:401Other
5945601142018-07-17 10:02:581Other
5946624022018-07-17 13:09:441Metro
5947623822018-07-17 13:09:471Metro
5948623922018-07-17 13:09:481Metro
5949623722018-07-17 13:10:231Metro
5950621522018-07-17 14:01:221Private Vehicle
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;