home / cp40x

names

4 rows where case_id = 2438372

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5277053 2438372 2438372 plaintiff Abraham John   585869 585869 Abraham, John, of London, gold beater 0
5277054 2438372 2438372 defendant Atryce Willim painter 586901 586901 Atryce, Willim, of Nottingham, painter 0
5277055 2438372 2438372 defendant Vaughan Thomas fishmonger 586318 586318 Vaughan, Thomas, of Worcester, fishmonger 1
5277056 2438372 2438372 defendant Isygot John husbandman 587062 587062 Isygot, John, of Totenham, Middx, husbandman 2

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 14.69ms