home / cp40x

names

6 rows where case_id = 2413339

✎ 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
5191807 2413339 2413339 plaintiff (not given) John prior of Monks Farley   Monks Farley, John, prior of 0
5191808 2413339 2413339 defendant Pyket John husbandman 593899 593899 Pyket, John, of West Kyngton, husbandman 0
5191809 2413339 2413339 defendant Warderope Thomas weaver 593899 593899 Warderope, Thomas, of West Kyngton, weaver 1
5191810 2413339 2413339 defendant Braye John husbandman 857848 857848 Braye, John, of Michelys Kyngton, husbandman 2
5191811 2413339 2413339 defendant Braye John laborer 857849 857849 Braye, John, of Gredelyngton, laborer 3
5191812 2413339 2413339 defendant Colleward John laborer 619618 619618 Colleward, John, of Long Staunton, laborer 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 9.834ms