home / cp40x

names

7 rows where case_id = 2360567

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5012768 2360567 2360567 plaintiff Adam Simon clerk   Adam, Simon, clerk, executors of 0
5012769 2360567 2360567 plaintiff Drax Richard     (Drax, Richard 1
5012770 2360567 2360567 plaintiff Beston John chaplain   Beston, John, chaplain 2
5012771 2360567 2360567 plaintiff Garstang Robert     Garstang, Robert 3
5012772 2360567 2360567 defendant Clerk John clerk 835056 835056 Clerk, John, of Maudeleyn Lavers, Essex, clerk 0
5012773 2360567 2360567 defendant Ledered Thomas husbandman 835057 835057 Ledered, Thomas, of Assher, Surrey, husbandman 1
5012774 2360567 2360567 defendant Warner John esq 835058 835058 Warner, John, of Estchirch, Isle of Shepey, Kent, esq 2

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