home / cp40x

names

6 rows where case_id = 1907715

✎ 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
3641252 1907715 1907715 plaintiff Beresford Roger alderman and mercer 585869 585869 Beresford, Roger, of London, alderman and mercer 0
3641253 1907715 1907715 defendant Beresford Adam gent 600495 600495 Beresford, Adam, of Fyny Bentley, Derbs, gent 0
3641254 1907715 1907715 defendant Hobberd John clothier 600496 600496 Hobberd, John, of Cosham, Wilts, clothier 1
3641255 1907715 1907715 defendant Alward John chapman 594777 594777 Alward, John, of Lynne, Norf, chapman 2
3641256 1907715 1907715 defendant Bruse Richard chapman 600497 600497 Bruse, Richard, of Stychmarshe, Nhants, chapman 3
3641257 1907715 1907715 defendant Cowper William yeoman 590870 590870 Cowper, William, of Stowe St Edward, Glos, yeoman 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 13.471ms