home / cp40x

names

5 rows where case_id = 2264661

✎ 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
4697363 2264661 2264661 plaintiff Cobald John     Cobald, John 0
4697364 2264661 2264661 defendant Powele John   605984 605984 Powele, John, of Newcastle upon Tyne 0
4697365 2264661 2264661 defendant Turpyn Thomas yeoman 652592 652592 Turpyn, Thomas, of Skeyton, yeoman 1
4697366 2264661 2264661 defendant Cook John yeoman 641532 641532 Cook, John, of Potter Heigham, yeoman 2
4697367 2264661 2264661 defendant Perles John yeoman 585933 585933 Perles, John, of Great Yarmouth, yeoman 3

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