home / cp40x

names

6 rows where case_id = 2351351

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4981377 2351351 2351351 plaintiff Sturgeon John mercer 585869 585869 Sturgeon, John, of London, mercer 0
4981378 2351351 2351351 defendant Swan Edmund chandler 586848 586848 Swan, Edmund, of Northampton, chandler 0
4981379 2351351 2351351 defendant Wodehous Jerome gent 830228 830228 Wodehous, Jerome, of Anmere, Norf, gent 1
4981380 2351351 2351351 defendant Smok Thomas chapman 594640 594640 Smok, Thomas, of Axbrigge, Soms, chapman 2
4981381 2351351 2351351 defendant Wolf John esq 830229 830229 Wolf, John, of Okompton, Devon, esq 3
4981382 2351351 2351351 defendant Bonefaunt John chapman 598234 598234 Bonefaunt, John, of Campden, Glos, chapman 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 10.529ms