home / cp40x

names

6 rows where case_id = 2306336

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4832987 2306336 2306336 plaintiff Chapman William     Chapman, William 0
4832988 2306336 2306336 defendant Hotoft John chapman 586435 586435 Hotoft, John, of Leicester, chapman 0
4832989 2306336 2306336 defendant Jacson Richard chapman 809655 809655 Jacson, Richard, of Byrchore, Derbs, chapman 1
4832990 2306336 2306336 defendant Bocher Richard butcher 590160 590160 Bocher, Richard, of Lughburgh, Leics, butcher 2
4832991 2306336 2306336 defendant Bocher William butcher 588326 588326 Bocher, William, of Belton, butcher 3
4832992 2306336 2306336 defendant Larke John shoemaker 639496 639496 Larke, John, of Lughburgh, shoemaker 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 12.722ms