home / cp40x

names

7 rows where case_id = 2285312

✎ 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
4765824 2285312 2285312 plaintiff Knottesford James esq 593550 593550 Knottesford, James, of Polyng, esq 0
4765825 2285312 2285312 defendant Bysshop John husbandman 706652 706652 Bysshop, John, of Ringmer, husbandman 0
4765826 2285312 2285312 defendant Tubbyng Ralph weaver 587004 587004 Tubbyng, Ralph, of Preston, weaver 1
4765827 2285312 2285312 defendant Lambe John husbandman 594235 594235 Lambe, John, of Godstone, Surrey, husbandman 2
4765828 2285312 2285312 defendant Barbour Robert (legal representative)   Barbour, Robert, executors of 3
4765829 2285312 2285312 defendant Kendale John husbandman 714850 714850 (Kendale, John, of Guildford, Surrey, husbandman 4
4765830 2285312 2285312 defendant Kendale Joan     Joan, his wife 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 22.029ms