home / cp40x

names

7 rows where case_id = 2459592

✎ 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
5348223 2459592 2459592 plaintiff Brampton John     Brampton, John 0
5348224 2459592 2459592 defendant Potter Alexander husbandman 602135 602135 Potter, Alexander, of Henyngham, husbandman 0
5348225 2459592 2459592 defendant Gryce Roger husbandman 592521 592521 Gryce, Roger, of Brisley, husbandman 1
5348226 2459592 2459592 defendant Asshele Richard smith 591419 591419 Asshele, Richard, of Brysley, smith 2
5348227 2459592 2459592 defendant Wurre John thatcher 587552 587552 Wurre, John, of Byllyngford juxta Baldeswell, thatcher 3
5348228 2459592 2459592 defendant Robyns John husbandman 865065 865065 Robyns, John, of Hyldyrston, husbandman 4
5348229 2459592 2459592 defendant Alberd Thomas grocer 585936 585936 Alberd, Thomas, of Norwich, grocer 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 13.473ms