home / cp40x

names

7 rows where case_id = 2397392

✎ 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
5137194 2397392 2397392 plaintiff Perpount Henry esq   Perpount, Henry, esq 0
5137195 2397392 2397392 defendant Kirhous William souyer 851494 851494 Kirhous, William, of Ryle, Derbs, souyer 0
5137196 2397392 2397392 defendant Kirhous John souyer 851495 851495 Kirhous, John, of Stokhyll Smythes, Derbs, souyer 1
5137197 2397392 2397392 defendant Kirhouse Robert weaver 588973 588973 Kirhouse, Robert, of Heth, Derbs, weaver 2
5137198 2397392 2397392 defendant Kirhous Thomas souyer 851494 851494 Kirhous, Thomas, of Ryle, Derbs, souyer 3
5137199 2397392 2397392 defendant Kirhouse John souyer 851496 851496 Kirhouse, John, of Stokhyll Smythes, souyer 4
5137200 2397392 2397392 defendant Barowe William husbandman 851497 851497 Barowe, William, of Norton Cokeney, Notts, 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.411ms