home / cp40x

names

6 rows where case_id = 2360700

✎ 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
5013217 2360700 2360700 plaintiff Aston Thomas skinner 585869 585869 Aston, Thomas, of London, skinner 0
5013218 2360700 2360700 defendant Samborne Walter esq 592037 592037 Samborne, Walter, of Chippenham, Wilts, esq 0
5013219 2360700 2360700 defendant Pokylchirche Thomas gent 598486 598486 Pokylchirche, Thomas, of Chippenham, gent 1
5013220 2360700 2360700 defendant Seyton Thomas esq 835117 835117 Seyton, Thomas, of Maydenwell, Nhants, esq 2
5013221 2360700 2360700 defendant Pulton Thomas gent 835118 835118 Pulton, Thomas, of Desborowe, Nhants, gent 3
5013222 2360700 2360700 defendant Tyteshale John gent 585936 585936 Tyteshale, John, of Norwich, gent 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 13.885ms