home / cp40x

names

6 rows where case_id = 1980940

✎ 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
3872231 1980940 1980940 plaintiff Bellowe John     Bellowe, John 0
3872232 1980940 1980940 defendant Mayman William merchant 586030 586030 Mayman, William, of Kyngeston on Hull, merchant 0
3872233 1980940 1980940 defendant Skerne Edmund clerk 623950 623950 Skerne, Edmund, of Laceby, clerk 1
3872234 1980940 1980940 defendant Denton George gent 643207 643207 Denton, George, of Orblynge, gent 2
3872235 1980940 1980940 defendant Oslyte George gent 643208 643208 Oslyte, George, of Holme, Clee, gent 3
3872236 1980940 1980940 defendant Frothyngham Edmund gent 643209 643209 Frothyngham, Edmund, of Isyngton, Yorks, 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 14.634ms