home / cp40x

names

6 rows where case_id = 2463777

✎ 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
5361992 2463777 2463777 plaintiff Tanner Thomas     Tanner, Thomas 0
5361993 2463777 2463777 defendant Lynsey John, senior husbandman 877645 877645 Lynsey, John, senior, of Heighbregge, Essex, husbandman 0
5361994 2463777 2463777 defendant Lynsey John, junior husbandman 877646 877646 Lynsey, John, junior, of Colverton, Essex, husbandman 1
5361995 2463777 2463777 defendant William of Ansle Essex, husbandman   William, of Ansle, Essex, husbandman 2
5361996 2463777 2463777 defendant Fayrer John chapman 588727 588727 Fayrer, John, of Chelmysford, Essex, chapman 3
5361997 2463777 2463777 defendant Gayge Thomas carpenter 601544 601544 Gayge, Thomas, of Chelmysford, carpenter 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 18.039ms