home / cp40x

names

7 rows where case_id = 2213418

✎ 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
4542085 2213418 2213418 plaintiff (not given)   prior of Wytham   Wytham, prior of 0
4542086 2213418 2213418 defendant Bole Thomas     Bole, Thomas 0
4542087 2213418 2213418 defendant Morelond Robert     Morelond, Robert 1
4542088 2213418 2213418 defendant Leg Richard     Leg, Richard 2
4542089 2213418 2213418 defendant Lovelot John   586367 586367 together with Lovelot, John, of Shepton Malet 3
4542090 2213418 2213418 defendant Sone John     Sone, John 4
4542091 2213418 2213418 defendant Ferrour William   586367 586367 Ferrour, William, of Shepton Malet 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 10.671ms