home / cp40x

names

5 rows where case_id = 2157149

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4377853 2157149 2157149 plaintiff Smythe Peter     Smythe, Peter 0
4377854 2157149 2157149 defendant Goodsole Stephen yeoman 657168 657168 Goodsole, Stephen, of Burwashe, yeoman 0
4377855 2157149 2157149 defendant Hannocke alias Lavender Peter collier 719075 719075 Hannocke alias Lavender, Peter, of Maighfeld, collier 1
4377856 2157149 2157149 defendant Horley Robert yeoman 657168 657168 Horley, Robert, of Burwashe, yeoman 2
4377857 2157149 2157149 defendant Tabrett John founder 662613 662613 Tabrett, John, of Slynfolde, founder 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 18.832ms