home / cp40x

names

9 rows where case_id = 2067257

✎ 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
4119472 2067257 2067257 plaintiff Angram Thomas     Angram, Thomas 0
4119473 2067257 2067257 defendant Angram John yeoman 596385 596385 Angram, John, of Farneley, yeoman 0
4119474 2067257 2067257 defendant Brandley of Farneley clothier   Brandley, of Farneley, clothier 1
4119475 2067257 2067257 defendant Bowcocke John   596385 596385 Bowcocke, John, of Farneley 2
4119476 2067257 2067257 defendant Berrye of Farneley tailor   Berrye, of Farneley, tailor 3
4119477 2067257 2067257 defendant Blackbirne Richard laborer 596385 596385 Blackbirne, Richard, of Farneley, laborer 4
4119478 2067257 2067257 defendant Dunwell Thomas, senior yeoman   together with Dunwell, Thomas, senior, yeoman 5
4119479 2067257 2067257 defendant Dunwell Francis yeoman 596385 596385 Dunwell, Francis, of Farneley, yeoman 6
4119480 2067257 2067257 defendant Brandley Christopher, senior yeoman   Brandley, Christopher, senior, yeoman 7

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