home / cp40x

names

9 rows where case_id = 2021073

✎ 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
3989732 2021073 2021073 plaintiff Bastard Francis gent, attorney of the bench   Bastard, Francis, gent, attorney of the bench 0
3989733 2021073 2021073 defendant Whynk John yeoman 588755 588755 Whynk, John, of Teryngton, yeoman 0
3989734 2021073 2021073 defendant Pylston Henry yeoman 585869 585869 Pylston, Henry, of London, yeoman 1
3989735 2021073 2021073 defendant Coke John yeoman 599252 599252 Coke, John, of Myddelton, yeoman 2
3989736 2021073 2021073 defendant Johnson William gent 585869 585869 Johnson, William, of London, gent 3
3989737 2021073 2021073 defendant Bromehall John clerk 668599 668599 Bromehall, John, of Asshewekyng, clerk 4
3989738 2021073 2021073 defendant Prest William, senior yeoman 700842 700842 Prest, William, senior, of Est Walton, yeoman 5
3989739 2021073 2021073 defendant Ferror John clerk 594493 594493 Ferror, John, of Barton Bendyche, clerk 6
3989740 2021073 2021073 defendant Style James yeoman 658532 658532 Style, James, of Downeham Markett, 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 15.47ms