home / cp40x

names

8 rows where case_id = 2437690

✎ 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
5274741 2437690 2437690 plaintiff Risborough Robert   605666 605666 Risborough, Robert, of Great Missenden, abbot 0
5274742 2437690 2437690 defendant Strenger John chapman   Strenger, John, chapman 0
5274743 2437690 2437690 defendant Southwod Richard yeoman   Southwod, Richard, yeoman 1
5274744 2437690 2437690 defendant Brams or Brain Robert chapman   Brams or Brain, Robert, chapman 2
5274745 2437690 2437690 defendant D--- Thomas ostler   D---, Thomas, ostler 3
5274746 2437690 2437690 defendant Belendon John gent   Belendon, John, gent 4
5274747 2437690 2437690 defendant Halsey John chapman   Halsey, John, chapman 5
5274748 2437690 2437690 defendant all of Leyghton Bosard or Leighton Buzzard Beds     all of Leyghton Bosard or Leighton Buzzard, Beds 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 14.799ms