home / cp40x

names

7 rows where case_id = 2317017

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4868156 2317017 2317017 plaintiff Hurlebatte Thomas     Hurlebatte, Thomas 0
4868157 2317017 2317017 plaintiff Wryght John     Wryght, John 1
4868158 2317017 2317017 defendant Adamson John, senior husbandman 597418 597418 Adamson, John, senior, of Calverton, husbandman 0
4868159 2317017 2317017 defendant Adamson John, junior husbandman 597418 597418 Adamson, John, junior, of Calverton, husbandman 1
4868160 2317017 2317017 defendant Launley John husbandman 597418 597418 Launley, John, of Calverton, husbandman 2
4868161 2317017 2317017 defendant Scotte Richard husbandman 597418 597418 Scotte, Richard, of Calverton, husbandman 3
4868162 2317017 2317017 defendant Gudwyn John   814977 814977 Gudwyn, John, of Calverton, neet herd 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 13.214ms