home / cp40x

names

7 rows where case_id = 2343505

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4955170 2343505 2343505 plaintiff Swan John (legal representative)   Swan, John, executor of 0
4955171 2343505 2343505 plaintiff Swan William his son   Swan, William, his son 1
4955172 2343505 2343505 defendant Skorche John husbandman 826978 826978 Skorche, John, of Swannescompe, husbandman 0
4955173 2343505 2343505 defendant Waynescote Richard husbandman 826978 826978 Waynescote, Richard, of Swannescompe, husbandman 1
4955174 2343505 2343505 defendant Jurdan Thomas husbandman 601339 601339 Jurdan, Thomas, of Southflete, husbandman 2
4955175 2343505 2343505 defendant Lardyner John husbandman 601339 601339 Lardyner, John, of Southflete, husbandman 3
4955176 2343505 2343505 defendant Lane John husbandman 601339 601339 Lane, John, of Southflete, husbandman 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 20.161ms