home / cp40x

names

8 rows where case_id = 2206926

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4521058 2206926 2206926 plaintiff Frome Thomas     Frome, Thomas 0
4521059 2206926 2206926 defendant Ludegard William chaplain   Ludegard, William, chaplain 0
4521060 2206926 2206926 defendant Grendham John     Grendham, John 1
4521061 2206926 2206926 defendant Wotton William   593234 593234 Wotton, William, of Bratton 2
4521062 2206926 2206926 defendant Smert William     Smert, William 3
4521063 2206926 2206926 defendant Pounteneye John clerk   Pounteneye, John, clerk 4
4521064 2206926 2206926 defendant Bertelot William   713432 713432 Bertelot, William, of Portesham 5
4521065 2206926 2206926 defendant Hayne John     Hayne, John 6

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