home / cp40x

names

6 rows where case_id = 2028741

✎ 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
4011094 2028741 2028741 plaintiff Perk or Parkes Thomas nailer 596876 596876 Perk or Parkes, Thomas, of Wednesbury, nailer 0
4011095 2028741 2028741 defendant Robynson Richard ironmonger 807238 807238 Robynson, Richard, of Pytchecote, Bucks, chapman, or of Whytchurche, Bucks, ironmonger 0
4011096 2028741 2028741 defendant Bicester Oxon     Bicester, Oxon 1
4011097 2028741 2028741 defendant Godfrey Thomas chapman 673726 673726 Godfrey, Thomas, of Bysseter, Bucks , chapman 2
4011098 2028741 2028741 defendant Chapman Thomas chapman 588180 588180 Chapman, Thomas, of Aylesbury, Bucks, chapman 3
4011099 2028741 2028741 defendant Fakener William chapman 598598 598598 Fakener, William, of Hychen, Herts, chapman 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 19.483ms