home / cp40x

names

8 rows where case_id = 2235000

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4612573 2235000 2235000 plaintiff (not given) John bishop of Coventry & Lichfield   Coventry & Lichfield, John, bishop of 0
4612574 2235000 2235000 defendant Wisse Thomas   588037 588037 Wisse, Thomas, of Lichefeld 0
4612575 2235000 2235000 defendant Blaby Robert   588037 588037 Blaby, Robert, of Lichefeld 1
4612576 2235000 2235000 defendant del Chaumbre Richard   590430 590430 del Chaumbre, Richard, of Lichfeld 2
4612577 2235000 2235000 defendant Benbowe William   588037 588037 Benbowe, William, of Lichefeld 3
4612578 2235000 2235000 defendant Brid William   588037 588037 Brid, William, of Lichefeld 4
4612579 2235000 2235000 defendant Pepy John     Pepy, John 5
4612580 2235000 2235000 defendant Nutte John     Nutte, John 6

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