home / cp40x

names

6 rows where case_id = 2275766

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4733843 2275766 2275766 plaintiff Roper Roger     Roper, Roger 0
4733844 2275766 2275766 defendant Milner Robert miller 710418 710418 Milner, Robert, of Ayleston, miller 0
4733845 2275766 2275766 defendant Couper John miller 652912 652912 Couper, John, of Blaby, miller 1
4733846 2275766 2275766 defendant Hosewyn Robert yeoman 652912 652912 Hosewyn, Robert, of Blaby, yeoman 2
4733847 2275766 2275766 defendant Berege Thomas husbandman 754619 754619 Berege, Thomas, of Ilveston, husbandman 3
4733848 2275766 2275766 defendant Wodecarter William carter 586435 586435 Wodecarter, William, of Leicester, carter 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 13.49ms