home / cp40x

names

6 rows where case_id = 1916102

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3668494 1916102 1916102 plaintiff Averell Richard fishmonger 585869 585869 Averell, Richard, of London, fishmonger 0
3668495 1916102 1916102 defendant Wode William hardwardeman 607285 607285 Wode, William, of Sale, Kent, hardwardeman 0
3668496 1916102 1916102 defendant Wystowe Andrew smith 594859 594859 Wystowe, Andrew, of Enfelde, Middx, smith 1
3668497 1916102 1916102 defendant Legge Robert fishmonger 585869 585869 Legge, Robert, of London, fishmonger 2
3668498 1916102 1916102 defendant Wantowne Thomas   586034 586034 Wantowne, Thomas, of St Albans, Herts, tallow chandler 3
3668499 1916102 1916102 defendant Burton John husbandman 606250 606250 Burton, John, of Shytlyngton, Beds, 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 14.835ms