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 626–650 of 9,738

entry_scan, page 26 of 390
scan_idINTEGERticket_id→ ticket.ticket_identrance_id→ entrance.entrance_idscanned_atTEXTis_first_entryINTEGERtransport_modeTEXT
62677622015-07-15 13:28:401Metro
62779442015-07-15 13:38:491Other
62867832015-07-16 11:53:541Walk
62967632015-07-16 11:54:021Walk
63067732015-07-16 11:54:131Walk
63179922015-07-17 11:07:421Metro
63279722015-07-17 11:08:021Metro
63379622015-07-17 11:08:031Metro
63479522015-07-17 11:08:131Metro
63575412015-07-18 10:30:521Bus
63675312015-07-18 10:31:071Bus
63780412015-07-18 10:41:531Metro
63880712015-07-18 13:14:231Taxi
63980612015-07-18 13:14:461Taxi
64080952015-07-19 11:08:251Walk
64180852015-07-19 11:08:531Walk
64281112015-07-19 14:08:141Walk
64381012015-07-19 14:08:401Walk
64481642015-07-20 14:20:211Other
64581542015-07-20 14:20:321Other
64681722015-07-21 09:56:321Metro
64782012015-07-21 11:31:591Bus
64881812015-07-21 11:32:081Bus
64981912015-07-21 11:32:221Bus
65082352015-07-21 11:49:101Other
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;