home / cp40x

names

4 rows where case_id = 1952470

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3783101 1952470 1952470 plaintiff Kele alias Kelehog John     Kele alias Kelehog, John 0
3783102 1952470 1952470 defendant Alsey Richard tailor 587983 587983 Alsey, Richard, of Chepyng Wycombe, tailor 0
3783103 1952470 1952470 defendant Heron John husbandman 628566 628566 Heron, John, of Hamylden, husbandman 1
3783104 1952470 1952470 defendant Halle John laborer 590273 590273 Halle, John, of Bradnam, laborer 2

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