home / cp40x

names

6 rows where case_id = 2206601

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4520048 2206601 2206601 plaintiff Fage John   629128 629128 Fage, John, of Temesford 0
4520049 2206601 2206601 defendant Hobbe Roger   765710 765710 Hobbe, Roger, of Alboteslee 0
4520050 2206601 2206601 defendant Skynner William   604083 604083 Skynner, William, of Bykeliswade 1
4520051 2206601 2206601 defendant Vytel Robert   759858 759858 Vytel, Robert, of Temsford 2
4520052 2206601 2206601 defendant Scrote Stephen   759858 759858 Scrote, Stephen, of Temsford 3
4520053 2206601 2206601 defendant Spenser John   629128 629128 Spenser, John, of Temesford 4

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 12.075ms