home / cp40x

names

6 rows where case_id = 2380950

✎ 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
5081438 2380950 2380950 plaintiff Croweton John     Croweton, John 0
5081439 2380950 2380950 defendant Kelley Thomas chapman 586036 586036 Kelley, Thomas, of Exeter, chapman 0
5081440 2380950 2380950 defendant Catmay John chapman 597943 597943 Catmay, John, of Monmouth, Wales, chapman 1
5081441 2380950 2380950 defendant Wellyng John chapman 585936 585936 Wellyng, John, of Norwich, chapman 2
5081442 2380950 2380950 defendant Couper John chapman 585936 585936 Couper, John, of Norwich, chapman 3
5081443 2380950 2380950 defendant Bole John chapman 598952 598952 Bole, John, of Ramsey, Hunts, chapman 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 16.502ms