home / cp40x

names

6 rows where case_id = 2326919

✎ 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
4900925 2326919 2326919 plaintiff Purchas Henry grocer 585869 585869 Purchas, Henry, of London, grocer 0
4900926 2326919 2326919 defendant Thornebury John gent 587936 587936 Thornebury, John, of Feversham, Kent, gent 0
4900927 2326919 2326919 defendant Kela Robert cutler 588442 588442 Kela, Robert, of Rochester, Kent, cutler 1
4900928 2326919 2326919 defendant Rysby John husbandman 589943 589943 Rysby, John, of Rochester, husbandman 2
4900929 2326919 2326919 defendant Halpeny John butcher 592442 592442 Halpeny, John, of Goutherst, Kent, butcher 3
4900930 2326919 2326919 defendant Machon Robert brasier 586809 586809 Machon, Robert, of Wellys, Soms, brasier 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.225ms