home / cp40x

names

7 rows where case_id = 2268521

✎ 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
4710128 2268521 2268521 plaintiff Precas John (legal representative) 629144 629144 Precas, John, of Kyme, executors of 0
4710129 2268521 2268521 plaintiff Clerk Hugh   604480 604480 (Clerk, Hugh, of Iwardby 1
4710130 2268521 2268521 plaintiff Evedon John   603450 603450 Evedon, John, of Evedon 2
4710131 2268521 2268521 plaintiff Porter Richard   629144 629144 Porter, Richard, of Kyme 3
4710132 2268521 2268521 defendant Milner Richard husbandman 589611 589611 Milner, Richard, of Hekyngton, husbandman 0
4710133 2268521 2268521 defendant Haliday John husbandman 788881 788881 Haliday, John, of Kirkeby by Sleford, husbandman 1
4710134 2268521 2268521 defendant Baghton James husbandman 599195 599195 Baghton, James, of Asgardby, husbandman 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 16.418ms