home / cp40x

names

7 rows where case_id = 2530994

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5587096 2530994 2530994 plaintiff Mellours Richard (legal representative) 586901 586901 Mellours, Richard, of Nottingham, bellfounder, executors of 0
5587097 2530994 2530994 plaintiff Mellours Agnes widow   (Mellours, Agnes, widow 1
5587098 2530994 2530994 plaintiff Byway William     Byway, William 2
5587099 2530994 2530994 defendant Ascogh Christopher esq 903158 903158 Ascogh, Christopher, of Asshby juxta Grymesby, Lincs, esq 0
5587100 2530994 2530994 defendant Hodgeson Richard husbandman 674120 674120 Hodgeson, Richard, of Holton, Lincs, husbandman 1
5587101 2530994 2530994 defendant Croftes Richard husbandman 611849 611849 Croftes, Richard, of Asshby, husbandman 2
5587102 2530994 2530994 defendant Mayson William, junior husbandman 611849 611849 Mayson, William, junior, of Asshby, husbandman 3

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