home / cp40x

names

8 rows where case_id = 2258014

✎ 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
4675717 2258014 2258014 plaintiff Frankys John     Frankys, John 0
4675718 2258014 2258014 defendant Taillour Thomas, junior yeoman 835432 835432 Taillour, Thomas, junior, of Cokyrmouth, yeoman 0
4675719 2258014 2258014 defendant Gray William yeoman 606837 606837 Gray, William, of Levyngton, yeoman 1
4675720 2258014 2258014 defendant Peper Thomas yeoman 782069 782069 Peper, Thomas, of Derwent Felles, yeoman 2
4675721 2258014 2258014 defendant Taillour John yeoman 782070 782070 Taillour, John, of Bergholm, yeoman 3
4675722 2258014 2258014 defendant Caldbek John de yeoman 782071 782071 Caldbek, John de, of Holm Coltran, yeoman 4
4675723 2258014 2258014 defendant Druwell Hugh yeoman 782072 782072 Druwell, Hugh, of Clifton, Westmld, yeoman 5
4675724 2258014 2258014 defendant Bannebury John merchant 590660 590660 Bannebury, John, of Carlisle, merchant 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 16.428ms