home / cp40x

names

5 rows where case_id = 2339598

✎ 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
4942358 2339598 2339598 plaintiff Forster William   825330 825330 Forster, William, of St Brigide in Flete Strete, London, tailor, dwelling at Floure de Lys 0
4942359 2339598 2339598 defendant Lathebury John esq 825327 825327 Lathebury, John, of Ekyngton on le Heth, Derbs, esq 0
4942360 2339598 2339598 defendant de Caryngton George gent 825328 825328 de Caryngton, George, of Alderchepe, Cheshire, gent 1
4942361 2339598 2339598 defendant Dale Thomas gent 788451 788451 Dale, Thomas, of Berkeford, Beds, gent 2
4942362 2339598 2339598 defendant Venablys Peter gent 825329 825329 Venablys, Peter, of Alkemonton, Derbs, gent 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 14.152ms