home / cp40x

names

6 rows where case_id = 2501774

✎ 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
5489609 2501774 2501774 plaintiff Aykerode Richard     Aykerode, Richard 0
5489610 2501774 2501774 defendant Wever John chapman 587736 587736 Wever, John, of Harborowe, Leics, chapman 0
5489611 2501774 2501774 defendant Traves Robert draper 586286 586286 Traves, Robert, of Boston, draper 1
5489612 2501774 2501774 defendant Depyng Robert innholder 586034 586034 Depyng, Robert, of St Albans, Herts, innholder 2
5489613 2501774 2501774 defendant Holgate John chapman 595368 595368 Holgate, John, of Halyfax, chapman 3
5489614 2501774 2501774 defendant Mawede John yeoman 594430 594430 Mawede, John, of Warley, Halyfax, yeoman 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 16.067ms