home / cp40x

names

9 rows where case_id = 2226742

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4585026 2226742 2226742 plaintiff Grey Thomas grocer 585869 585869 Grey, Thomas, of London, grocer 0
4585027 2226742 2226742 defendant Reffham Henry   588081 588081 Reffham, Henry, of Cambridge 0
4585028 2226742 2226742 defendant Burgeys Robert   636100 636100 Burgeys, Robert, of Sussex 1
4585029 2226742 2226742 defendant Flore Robert   587249 587249 Flore, Robert, of Chelmesford 2
4585030 2226742 2226742 defendant Lymby Hugh   586901 586901 Lymby, Hugh, of Nottingham 3
4585031 2226742 2226742 defendant Poyet Simon     Poyet, Simon 4
4585032 2226742 2226742 defendant Mannok John     Mannok, John 5
4585033 2226742 2226742 defendant Barys Adam mercer   Barys, Adam, mercer 6
4585034 2226742 2226742 defendant Nicholl Thomas   589013 589013 Nicholl, Thomas, of Bury 7

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.753ms