home / cp40x

names

11 rows where case_id = 2420033

✎ 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
5214724 2420033 2420033 plaintiff Calverley Walter esq   Calverley, Walter, esq 0
5214725 2420033 2420033 defendant Pycard William yeoman 649755 649755 Pycard, William, of Menston, yeoman 0
5214726 2420033 2420033 defendant Pycard John, senior yeoman 649755 649755 Pycard, John, senior, of Menston, yeoman 1
5214727 2420033 2420033 defendant Pycard John, junior yeoman 649755 649755 Pycard, John, junior, of Menston, yeoman 2
5214728 2420033 2420033 defendant Rodes William yeoman 706079 706079 Rodes, William, of Rodes, yeoman 3
5214729 2420033 2420033 defendant Preston Henry yeoman 598282 598282 Preston, Henry, of Skipton in Craven, yeoman 4
5214730 2420033 2420033 defendant Penelton Rchard yeoman 598282 598282 Penelton, Rchard, of Skipton in Craven, yeoman 5
5214731 2420033 2420033 defendant Brerehay John yeoman 598282 598282 Brerehay, John, of Skipton in Craven, yeoman 6
5214732 2420033 2420033 defendant Scot Stephen yeoman 860115 860115 Scot, Stephen, of Parkhill, yeoman 7
5214733 2420033 2420033 defendant Kechyn William yeoman 598282 598282 Kechyn, William, of Skipton in Craven, yeoman 8
5214734 2420033 2420033 defendant Brerehay William yeoman 649755 649755 together with Brerehay, William, of Menston, yeoman 9

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.065ms