home / cp40x

names

6 rows where case_id = 2320433

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4879206 2320433 2320433 plaintiff Tryx John grocer 585869 585869 Tryx, John, of London, grocer 0
4879207 2320433 2320433 defendant Coke William chapman 594086 594086 Coke, William, of Wolverhampton, Staffs, chapman 0
4879208 2320433 2320433 defendant Bedeworth Thomas chapman 586117 586117 Bedeworth, Thomas, of Coventry, chapman 1
4879209 2320433 2320433 defendant White Thomas chapman 816432 816432 White, Thomas, of Pounfreyte, Yorks, chapman 2
4879210 2320433 2320433 defendant Haward Thomas chapman 816433 816433 Haward, Thomas, of Devenham, Suff, chapman 3
4879211 2320433 2320433 defendant Hopken John chapman 766262 766262 Hopken, John, of Walsale, Staffs, 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 13.623ms