home / cp40x

names

6 rows where case_id = 2368741

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5040424 2368741 2368741 plaintiff Bryam John mercer 586117 586117 Bryam, John, of Coventry, mercer 0
5040425 2368741 2368741 defendant Bayly Robert chapman 838553 838553 Bayly, Robert, of Styrbrygge or Stourbridge, Worcs, chapman 0
5040426 2368741 2368741 defendant Corse Thomas butcher 820206 820206 Corse, Thomas, of Stourbridge, butcher 1
5040427 2368741 2368741 defendant Leche William yeoman 820206 820206 Leche, William, of Stourbridge, yeoman 2
5040428 2368741 2368741 defendant White Richard mercer 606537 606537 White, Richard, of Newcastle under Lyme, Staffs, mercer 3
5040429 2368741 2368741 defendant Okus alias Bocher John of Wylford Gloucs, chapman   Okus alias Bocher, John of Wylford, Gloucs, 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 15.618ms