home / cp40x

names

10 rows where case_id = 2240360

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4630205 2240360 2240360 plaintiff Staverton John     Staverton, John 0
4630206 2240360 2240360 plaintiff Askham William   585869 585869 Askham, William, of London 1
4630207 2240360 2240360 plaintiff Preston John     Preston, John 2
4630208 2240360 2240360 plaintiff Baynard Richard     Baynard, Richard 3
4630209 2240360 2240360 plaintiff Joop Thomas     Joop, Thomas 4
4630210 2240360 2240360 plaintiff Basset John     Basset, John 5
4630211 2240360 2240360 defendant Gleymesford John     Gleymesford, John 0
4630212 2240360 2240360 defendant Hunte Thomas   596238 596238 Hunte, Thomas, of Suffolk 1
4630213 2240360 2240360 defendant Hunte William     Hunte, William 2
4630214 2240360 2240360 defendant Swan Roger     Swan, Roger 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 13.741ms