home / cp40x

names

8 rows where case_id = 1937743

✎ 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
3736741 1937743 1937743 plaintiff Kelsey Hugh     Kelsey, Hugh 0
3736742 1937743 1937743 defendant Petson Robert husbandman 606682 606682 Petson, Robert, of Waynflet, husbandman 0
3736743 1937743 1937743 defendant Baston John shoemaker 606682 606682 Baston, John, of Waynflet, shoemaker 1
3736744 1937743 1937743 defendant Grisse Alan barber 606682 606682 Grisse, Alan, of Waynflet, barber 2
3736745 1937743 1937743 defendant Dovour or Donour William laborer 606682 606682 Dovour or Donour, William, of Waynflet, laborer 3
3736746 1937743 1937743 defendant Bryng John laborer 606682 606682 Bryng, John, of Waynflet, laborer 4
3736747 1937743 1937743 defendant Crosse Grace widow 606682 606682 Crosse, Grace, of Waynflet, widow 5
3736748 1937743 1937743 defendant Foster Alice widow 606682 606682 Foster, Alice, of Waynflet, widow 6

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.133ms