home / cp40x

names

8 rows where case_id = 2398602

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5141398 2398602 2398602 plaintiff van Bremen Swether   585869 585869 van Bremen, Swether, of London, gold smith, administrators of 0
5141399 2398602 2398602 plaintiff Everton John     (Everton, John 1
5141400 2398602 2398602 plaintiff Margery Simon     Margery, Simon 2
5141401 2398602 2398602 defendant Bele Thomas   588442 588442 Bele, Thomas, of Rochester, Kent, gold smith 0
5141402 2398602 2398602 defendant Hall Thomas   585888 585888 Hall, Thomas, of Maidstone, Kent, mason 1
5141403 2398602 2398602 defendant Brydde Thomas (legal representative)   Brydde, Thomas, executors of 2
5141404 2398602 2398602 defendant Skynner Alan skinner 605288 605288 (Skynner, Alan, of Maidstone, skinner 3
5141405 2398602 2398602 defendant Skynner Alice     Alice, his wife 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 13.574ms