home / cp40x

names

7 rows where case_id = 1905521

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3634284 1905521 1905521 plaintiff Marshall Robert     Marshall, Robert 0
3634285 1905521 1905521 defendant Pyecok or Pydcok William husbandman 598842 598842 Pyecok or Pydcok, William, of Meslege, Derley in le Peke, husbandman 0
3634286 1905521 1905521 defendant Mowbrey John husbandman 598843 598843 Mowbrey, John, of Bonsale, husbandman 1
3634287 1905521 1905521 defendant Bown Roger husbandman 598844 598844 Bown, Roger, of Matloke, husbandman 2
3634288 1905521 1905521 defendant Southam Henry husbandman 592500 592500 Southam, Henry, of Horseley, husbandman 3
3634289 1905521 1905521 defendant Stephen Hugh husbandman 592500 592500 Stephen, Hugh, of Horseley, husbandman 4
3634290 1905521 1905521 defendant Calton Robert husbandman 589994 589994 Calton, Robert, of Duffeld, husbandman 5

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 7.365ms