home / cp40x

names

6 rows where case_id = 2275795

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4733921 2275795 2275795 plaintiff Routh John knight   Routh, John, knight 0
4733922 2275795 2275795 defendant Grymesby Simon (legal representative) 586030 586030 Grymesby, Simon, of Kyngeston on Hull, executors of 0
4733923 2275795 2275795 defendant Grymesby John esq 586030 586030 (Grymesby, John, of Kyngeston on Hull, esq 1
4733924 2275795 2275795 defendant Grymesby Agnes widow 586030 586030 Grymesby, Agnes, of Kyngeston on Hull, widow 2
4733925 2275795 2275795 defendant Lomley Eleanor widow, formerly wife of Ralph Lumley, of Orton Holme   Lomley, Eleanor, widow, formerly wife of Ralph Lumley, of Orton Holme 3
4733926 2275795 2275795 defendant Santon Thomas gent 586019 586019 Santon, Thomas, of South Cave, 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 17.096ms