home / cp40x

names

7 rows where case_id = 2195104

✎ 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
4482069 2195104 2195104 plaintiff Martyn Robert clerk 589186 589186 Martyn, Robert, of Halstede, son of Horeham, Amy Horeham, sister of John Horsham, clerk 0
4482070 2195104 2195104 defendant Oxford de Veer Countess of   Oxford, de Veer, Countess of 0
4482071 2195104 2195104 defendant Percy Thomas     Percy, Thomas 1
4482072 2195104 2195104 defendant Bourghchier John knight   Bourghchier, John, knight 2
4482073 2195104 2195104 defendant Coolpepir John     Coolpepir, John 3
4482074 2195104 2195104 defendant St Cler John     St Cler, John 4
4482075 2195104 2195104 defendant Godetone William     Godetone, William 5

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