home / cp40x

names

7 rows where case_id = 2398857

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5142266 2398857 2398857 plaintiff Wheler John draper 585869 585869 Wheler, John, of London, draper 0
5142267 2398857 2398857 defendant Walton Ralph yeoman 654288 654288 Walton, Ralph, of Burton upon Trent, Staffs, yeoman 0
5142268 2398857 2398857 defendant Byrd William chapman 585869 585869 Byrd, William, of London, chapman 1
5142269 2398857 2398857 defendant Traas William mercer 585869 585869 Traas, William, of London, mercer 2
5142270 2398857 2398857 defendant Strynger Roger (legal representative) 585869 585869 Strynger, Roger, of London, chapman, executors of 3
5142271 2398857 2398857 defendant Neweton John chapman 781252 781252 (Neweton, John, of Derby, Derbs, chapman 4
5142272 2398857 2398857 defendant Neweton Alice     Alice, his wife 5

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 16.495ms