home / cp40x

names

10 rows where case_id = 2170009

✎ 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
4416373 2170009 2170009 plaintiff Middeldon William de     Middeldon, William de 0
4416374 2170009 2170009 defendant Trove Robert     Trove, Robert 0
4416375 2170009 2170009 defendant Iryng John     together with Iryng, John 1
4416376 2170009 2170009 defendant Aspale Thomas de   591946 591946 Aspale, Thomas de, of Pykenham 2
4416377 2170009 2170009 defendant St Cler Henry     St Cler, Henry 3
4416378 2170009 2170009 defendant Mynyot Roger     Mynyot, Roger 4
4416379 2170009 2170009 defendant Wysebech Thomas de chaplain   Wysebech, Thomas de, chaplain 5
4416380 2170009 2170009 defendant Brune John de     Brune, John de 6
4416381 2170009 2170009 defendant Spedeshale William de     Spedeshale, William de 7
4416382 2170009 2170009 defendant Wolsy Warin     Wolsy, Warin 8

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.321ms