home / cp40x

names

7 rows where case_id = 2023837

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3997453 2023837 2023837 plaintiff Dyes William grocer 585925 585925 Dyes, William, of Bristol, grocer 0
3997454 2023837 2023837 plaintiff Tayler Thomas grocer 585925 585925 Tayler, Thomas, of Bristol, grocer 1
3997455 2023837 2023837 defendant Mason Humphrey yeoman 665748 665748 Mason, Humphrey, of Bishops Castle, Salop, yeoman 0
3997456 2023837 2023837 defendant Yonge John gent 670509 670509 Yonge, John, of Bente, Salop, gent 1
3997457 2023837 2023837 defendant Gethyn Edward gent 670510 670510 Gethyn, Edward, of Beache, Salop, gent 2
3997458 2023837 2023837 defendant ap Lewes Hugh ap John gent 670511 670511 ap Lewes, Hugh ap John, of Churchestok, Montgomery, gent 3
3997459 2023837 2023837 defendant Broughton Edward gent 651141 651141 Broughton, Edward, of Broughton, Salop, gent 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 10.455ms