home / cp40x

names

9 rows where case_id = 2342522

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4951825 2342522 2342522 plaintiff Redemane Thomas     Redemane, Thomas 0
4951826 2342522 2342522 defendant Caryour John chapman 586887 586887 Caryour, John, of Wakefeld, chapman 0
4951827 2342522 2342522 defendant Tomson Roger yeoman 826549 826549 Tomson, Roger, of Dente, yeoman 1
4951828 2342522 2342522 defendant Hoggeson Roger yeoman 826549 826549 Hoggeson, Roger, of Dente, yeoman 2
4951829 2342522 2342522 defendant Leek Robert yeoman 826549 826549 Leek, Robert, of Dente, yeoman 3
4951830 2342522 2342522 defendant Hoggeson Richard Wilson yeoman 826549 826549 Hoggeson, Richard Wilson, of Dente, yeoman 4
4951831 2342522 2342522 defendant Mason John yeoman 826550 826550 Mason, John, of le Myres, yeoman 5
4951832 2342522 2342522 defendant Jakson Thomas yeoman 826551 826551 Jakson, Thomas, of Quarfe, yeoman 6
4951833 2342522 2342522 defendant Otteley Adam yeoman 622639 622639 Otteley, Adam, of Otteley, yeoman 7

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 17.317ms