home / cp40x

names

8 rows where case_id = 2022685

✎ 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
3994212 2022685 2022685 plaintiff Clowbery John gent   Clowbery, John, gent 0
3994213 2022685 2022685 defendant Stephyn Henry husbandman 669724 669724 Stephyn, Henry, of Leazant, husbandman 0
3994214 2022685 2022685 defendant Drowne Margery widow 669724 669724 Drowne, Margery, of Leazant, widow 1
3994215 2022685 2022685 defendant Wyskye William husbandman 669724 669724 Wyskye, William, of Leazant, husbandman 2
3994216 2022685 2022685 defendant Harpur Thomas husbandman 669724 669724 Harpur, Thomas, of Leazant, husbandman 3
3994217 2022685 2022685 defendant Harpur John husbandman 669724 669724 Harpur, John, of Leazant, husbandman 4
3994218 2022685 2022685 defendant Harpur William husbandman 669724 669724 Harpur, William, of Leazant, husbandman 5
3994219 2022685 2022685 defendant Waryn Sampson husbandman 669724 669724 Waryn, Sampson, of Leazant, husbandman 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 16.686ms