home / cp40x

names

7 rows where case_id = 2064351

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4111472 2064351 2064351 plaintiff Skott William     Skott, William 0
4111473 2064351 2064351 defendant Tanckard William gent 695824 695824 Tanckard, William, of Burrowbrige, gent 0
4111474 2064351 2064351 defendant Allan Thomas yeoman 593675 593675 Allan, Thomas, of Brayton, yeoman 1
4111475 2064351 2064351 defendant Garbraye George gent 586067 586067 Garbraye, George, of York, gent 2
4111476 2064351 2064351 defendant Harland Thomas yeoman 606128 606128 Harland, Thomas, of Rippon, yeoman 3
4111477 2064351 2064351 defendant Newbie William yeoman 609958 609958 Newbie, William, of Pomfrett, yeoman 4
4111478 2064351 2064351 defendant Morrett John yeoman 619663 619663 Morrett, John, of Sherborne, yeoman 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 11.683ms