home / cp40x

names

8 rows where case_id = 2370585

✎ 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
5046468 2370585 2370585 plaintiff Middelton William     Middelton, William 0
5046469 2370585 2370585 defendant Hosbaldeston James gent 839594 839594 Hosbaldeston, James, of Stubham in Ylkeley, gent 0
5046470 2370585 2370585 defendant More Ralph laborer 839595 839595 More, Ralph, of Stubham in Ilkley, laborer 1
5046471 2370585 2370585 defendant Harper Thomas tailor 588641 588641 Harper, Thomas, of Denton, tailor 2
5046472 2370585 2370585 defendant Jakeson John husbandman 718368 718368 Jakeson, John, of Ilkley, husbandman 3
5046473 2370585 2370585 defendant Colgyll John laborer 718368 718368 Colgyll, John, of Ilkley, laborer 4
5046474 2370585 2370585 defendant Colgyll Thomas weaver   Colgyll, Thomas, weaver 5
5046475 2370585 2370585 defendant Bartlot Thomas   718368 718368 Bartlot, Thomas, of Ilkley, 6

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 18.815ms