home / cp40x

names

7 rows where case_id = 2396363

✎ 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
5133751 2396363 2396363 plaintiff Joly Thomas     Joly, Thomas 0
5133752 2396363 2396363 defendant Brokkeford John weaver 586182 586182 Brokkeford, John, of Ardeley, weaver 0
5133753 2396363 2396363 defendant Baker John carpenter 605122 605122 Baker, John, of East Ham, carpenter 1
5133754 2396363 2396363 defendant Ben-- John carpenter 605122 605122 Ben--, John, of East Ham, carpenter 2
5133755 2396363 2396363 defendant Baker Thomas weaver 586182 586182 Baker, Thomas, of Ardeley, weaver 3
5133756 2396363 2396363 defendant Pygot John   603298 603298 Pygot, John, of Orset 4
5133757 2396363 2396363 defendant Rayn--- Nicholas husbandman   Rayn---, Nicholas, 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 15.352ms