home / cp40x

names

12 rows where case_id = 2225598

✎ 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
4581186 2225598 2225598 plaintiff Drayton John knight   Drayton, John, knight 0
4581187 2225598 2225598 defendant Botiler Ralph     Botiler, Ralph 0
4581188 2225598 2225598 defendant Whityng John     Whityng, John 1
4581189 2225598 2225598 defendant Spekenell Roger     Spekenell, Roger 2
4581190 2225598 2225598 defendant Shepherd John   754422 754422 Shepherd, John, of Badmynton 3
4581191 2225598 2225598 defendant Eylmeley Robert     Eylmeley, Robert 4
4581192 2225598 2225598 defendant Howys John     Howys, John 5
4581193 2225598 2225598 defendant Freman Thomas     Freman, Thomas 6
4581194 2225598 2225598 defendant Taillour Nicholas     Taillour, Nicholas 7
4581195 2225598 2225598 defendant Brytte John     Brytte, John 8
4581196 2225598 2225598 defendant North Robert     North, Robert 9
4581197 2225598 2225598 defendant Crouche Robert     Crouche, Robert 10

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