home / cp40x

names

8 rows where case_id = 2019835

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3986230 2019835 2019835 plaintiff Welshe Hugh (legal representative) 586208 586208 Welshe, Hugh, of Hereford, mercer, executor of 0
3986231 2019835 2019835 plaintiff Smythe Thomas his son in law   (Smythe, Thomas, his son in law 1
3986232 2019835 2019835 plaintiff Saxy Robert his son in law   Saxy, Robert, his son in law 2
3986233 2019835 2019835 plaintiff Welshe Edward his son   Welshe, Edward, his son 3
3986234 2019835 2019835 defendant James Evan yeoman 659079 659079 James, Evan, of Llanbyster, Radnor, yeoman 0
3986235 2019835 2019835 defendant Dackyn David John clerk 667737 667737 Dackyn, David John, of Berewe, Montgolmery, clerk 1
3986236 2019835 2019835 defendant Ewyn Lewis gent 608545 608545 Ewyn, Lewis, of New Radnor, gent 2
3986237 2019835 2019835 defendant Lewys John gent 608545 608545 Lewys, John, of New Radnor, gent 3

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