home / cp40x

names

7 rows where case_id = 2262029

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4688716 2262029 2262029 plaintiff Tillioll Peter knight   Tillioll, Peter, knight 0
4688717 2262029 2262029 defendant Wetton Robert esq 590660 590660 Wetton, Robert, of Carlisle, esq 0
4688718 2262029 2262029 defendant Milys Robert yeoman 784745 784745 Milys, Robert, of Sante Mareholme, yeoman 1
4688719 2262029 2262029 defendant Jakson John yeoman 784745 784745 Jakson, John, of Sante Mareholme, yeoman 2
4688720 2262029 2262029 defendant Stevenson Richard yeoman 784746 784746 Stevenson, Richard, of la Bankys, yeoman 3
4688721 2262029 2262029 defendant Palframan William yeoman 784747 784747 Palframan, William, of Waltonewod, yeoman 4
4688722 2262029 2262029 defendant Halywell William fuyster or forester 782271 782271 Halywell, William, of Armethwayt, fuyster or forester 5

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