home / cp40x

names

6 rows where case_id = 2308520

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4840319 2308520 2308520 plaintiff Hoigge Stephen     Hoigge, Stephen 0
4840320 2308520 2308520 defendant Catersfoyll Edmund fishmonger 605288 605288 Catersfoyll, Edmund, of Maidstone, fishmonger 0
4840321 2308520 2308520 defendant Carpenter Thomas collier 585988 585988 Carpenter, Thomas, of Hethfeld, collier 1
4840322 2308520 2308520 defendant Chapman John husbandman 767733 767733 Chapman, John, of Kyngessnoth, husbandman 2
4840323 2308520 2308520 defendant Boteler John jun, of Bordefeld, butcher   Boteler, John, jun, of Bordefeld, butcher 3
4840324 2308520 2308520 defendant Milton John butcher 781222 781222 Milton, John, of Minster, on the Isle of Sheppey, butcher 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.203ms