home / cp40x

names

7 rows where case_id = 2244087

✎ 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
4643084 2244087 2244087 plaintiff Horsley John esq & constable of the Castle 630176 630176 Horsley, John, of Wyndesore, esq & constable of the Castle 0
4643085 2244087 2244087 plaintiff Totysham Thomas tailor 586033 586033 Totysham, Thomas, of Westminster, tailor 1
4643086 2244087 2244087 defendant Everard Thomas esq   Everard, Thomas, esq 0
4643087 2244087 2244087 defendant Olyve Thomas   587082 587082 Olyve, Thomas, of Watford 1
4643088 2244087 2244087 defendant Craneburne Philip herbeger or innkeeper   Craneburne, Philip, herbeger or innkeeper 2
4643089 2244087 2244087 defendant Heyward John esq   Heyward, John, esq 3
4643090 2244087 2244087 defendant Pole Ralph esq   Pole, Ralph, esq 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 14.632ms