home / cp40x

names

7 rows where case_id = 2021151

✎ 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
3989918 2021151 2021151 plaintiff Beake Thomas yeoman 638214 638214 Beake, Thomas, of Arlingham, yeoman 0
3989919 2021151 2021151 defendant Hawkyns John smith 643316 643316 Hawkyns, John, of Parva Deane, smith 0
3989920 2021151 2021151 defendant Byrdley Richard weaver 598669 598669 Byrdley, Richard, of Newenham, weaver 1
3989921 2021151 2021151 defendant Wye Richard   668640 668640 Wye, Richard, of Wicke, esq, administrators of 2
3989922 2021151 2021151 defendant Wye Thomas esq 668641 668641 (Wye, Thomas, of Lyppyate, esq 3
3989923 2021151 2021151 defendant Wye Francis gent 587421 587421 Wye, Francis, of South Cerney, gent 4
3989924 2021151 2021151 defendant Wye Anthony gent 643787 643787 Wye, Anthony, of Rodmarton, gent 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 15.82ms