home / cp40x

names

6 rows where case_id = 2027409

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4007344 2027409 2027409 plaintiff Mannyng Maud (legal representative) 603228 603228 Mannyng, Maud, of Sprouston, widow, executor of 0
4007345 2027409 2027409 plaintiff Mannyng Robert her son   Mannyng, Robert, her son 1
4007346 2027409 2027409 defendant Deane Thomas tailor 588931 588931 Deane, Thomas, of Horsham St Faith, tailor 0
4007347 2027409 2027409 defendant Russell Andrew carpenter 588931 588931 Russell, Andrew, of Horsham St Faith, carpenter 1
4007348 2027409 2027409 defendant Warlyth Robert turner 661478 661478 Warlyth, Robert, of Frettenham, turner 2
4007349 2027409 2027409 defendant Kecham or Ketchyn William husbandman 586779 586779 Kecham or Ketchyn, William, of Brampton, husbandman 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 16.83ms