home / cp40x

names

6 rows where case_id = 2277922

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4741177 2277922 2277922 plaintiff Bevereche William grocer 585869 585869 Bevereche, William, of London, grocer, on his own account 0
4741178 2277922 2277922 defendant Denny Thomas   585869 585869 Denny, Thomas, of London, gent, & son of Robert Denny 0
4741179 2277922 2277922 defendant William Baron Hylton   794487 794487 William, Baron Hylton, of Hylton, Yorks, knight 1
4741180 2277922 2277922 defendant Hayfeld William yeoman 794486 794486 Hayfeld, William, of Polborugh, Sussex, yeoman 2
4741181 2277922 2277922 defendant Bartelot John husbandman 626707 626707 Bartelot, John, of Reylegh, Essex, husbandman 3
4741182 2277922 2277922 defendant Brigtley John gent 794489 794489 Brigtley, John, of Hulton, Yorks, 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 15.352ms