home / cp40x

names

6 rows where case_id = 2522519

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5558772 2522519 2522519 plaintiff Preston William tailor 585869 585869 Preston, William, of London, tailor 0
5558773 2522519 2522519 defendant Levendall William brewer 899992 899992 Levendall, William, of Lensame, Kent, brewer 0
5558774 2522519 2522519 defendant Echer William clothman 899993 899993 Echer, William, of Crandebroke, kent, clothman 1
5558775 2522519 2522519 defendant Miller William clothman 609776 609776 Miller, William, of Charyng, Kent, clothman 2
5558776 2522519 2522519 defendant Borough William pewterer 596244 596244 Borough, William, of Thaxstede, Essex, pewterer 3
5558777 2522519 2522519 defendant Legh John tailor 586175 586175 Legh, John, of Canterbury, tailor 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 15.842ms