home / cp40x

names

10 rows where case_id = 2245824

✎ 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
4649216 2245824 2245824 plaintiff Turvey John     Turvey, John 0
4649217 2245824 2245824 defendant Wodhill Philip formerly servant of the parson, of   Wodhill, Philip, formerly servant of the parson, of 0
4649218 2245824 2245824 defendant Brain Richard   735252 735252 Brain, Richard, of Caldcote 1
4649219 2245824 2245824 defendant Crowe Thomas   588026 588026 Crowe, Thomas, of Stoughton 2
4649220 2245824 2245824 defendant Stoughton Thomas   607776 607776 Stoughton, Thomas, of Goldyngton 3
4649221 2245824 2245824 defendant Sampson Richard     Sampson, Richard 4
4649222 2245824 2245824 defendant Cosyn John   770542 770542 Cosyn, John, of Felmesham 5
4649223 2245824 2245824 defendant Basse John   753421 753421 Basse, John, of Sharnebrok 6
4649224 2245824 2245824 defendant Wytheryn John clerk   Wytheryn, John, clerk 7
4649225 2245824 2245824 defendant Doucesson John chaplain   Doucesson, John, chaplain 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 14.428ms