home / cp40x

names

6 rows where case_id = 2352548

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4985374 2352548 2352548 plaintiff Zouche John esq   Zouche, John, esq 0
4985375 2352548 2352548 defendant Terold William husbandman 615686 615686 Terold, William, of Yelvertoft, husbandman 0
4985376 2352548 2352548 defendant Seman John husbandman 615686 615686 Seman, John, of Yelvertoft, husbandman 1
4985377 2352548 2352548 defendant Toly John cordwainer 598754 598754 Toly, John, of Bulwyk, cordwainer 2
4985378 2352548 2352548 defendant Bullok Thomas gent 818286 818286 Bullok, Thomas, of Coton juxta Northampton, gent 3
4985379 2352548 2352548 defendant Colas John husbandman 597033 597033 Colas, John, of West Haddon, husbandman 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 16.622ms