home / cp40x

names

6 rows where case_id = 1992235

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3905835 1992235 1992235 plaintiff Lewes David tailor 589472 589472 Lewes, David, of St Johns Strete, tailor 0
3905836 1992235 1992235 defendant ap Jenkyn Humphrey ap Howell gent 626435 626435 ap Jenkyn, Humphrey ap Howell, of Towen, Merioneth, gent 0
3905837 1992235 1992235 defendant West Reginald clerk 628144 628144 West, Reginald, of Trumpyngton, Cams, clerk 1
3905838 1992235 1992235 defendant ap Glissa Griffin Floyed gent 649262 649262 ap Glissa, Griffin Floyed, of Llancard, Carnaven, gent 2
3905839 1992235 1992235 defendant Bodeley John smith 585869 585869 Bodeley, John, of London, smith 3
3905840 1992235 1992235 defendant Lloyd Robert ap David gent 649263 649263 Lloyd, Robert ap David, of Corwyn, Denbigh, 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 12.994ms