home / cp40x

names

7 rows where case_id = 2375367

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5062584 2375367 2375367 plaintiff Hille John     Hille, John 0
5062585 2375367 2375367 defendant Lydeston John husbandman 611372 611372 Lydeston, John, of Stoke Flemyng, husbandman 0
5062586 2375367 2375367 defendant Sherpham Stephen husbandman 611372 611372 Sherpham, Stephen, of Stoke Flemyng, husbandman 1
5062587 2375367 2375367 defendant Gille Andrew husbandman 611372 611372 Gille, Andrew, of Stoke Flemyng, husbandman 2
5062588 2375367 2375367 defendant Tomme Richard husbandman 611372 611372 Tomme, Richard, of Stoke Flemyng, husbandman 3
5062589 2375367 2375367 defendant Tomme John husbandman 611372 611372 Tomme, John, of Stoke Flemyng, husbandman 4
5062590 2375367 2375367 defendant Tomme John junoor, of Stoke Flemyng, husbandman   Tomme, John, ,junoor, of Stoke Flemyng, husbandman 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 14.869ms