home / cp40x

names

8 rows where case_id = 2408267

✎ 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
5174583 2408267 2408267 plaintiff Ruyton John draper 586117 586117 Ruyton, John, of Coventry, draper 0
5174584 2408267 2408267 defendant Ruyton William draper 585869 585869 Ruyton, William, of London, draper 0
5174585 2408267 2408267 defendant Forest William chapman 781252 781252 Forest, William, of Derby, Derbs, chapman 1
5174586 2408267 2408267 defendant Magottes William chapman 606953 606953 Magottes, William, of Northampton, Nhants, chapman 2
5174587 2408267 2408267 defendant Copland William draper 586848 586848 Copland, William, of Northampton, draper 3
5174588 2408267 2408267 defendant Mychell John draper 695204 695204 Mychell, John, of Abingdon, Berks, draper 4
5174589 2408267 2408267 defendant Knolles John (legal representative) 586067 586067 Knolles, John, of York, chapman, executor of 5
5174590 2408267 2408267 defendant Knolles William draper 586067 586067 Knolles, William, of York, draper 6

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