home / cp40x

names

6 rows where case_id = 2511190

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5520361 2511190 2511190 plaintiff Broun Thomas     Broun, Thomas 0
5520362 2511190 2511190 defendant Chery William miller 587760 587760 Chery, William, of Eston Bavent, miller 0
5520363 2511190 2511190 defendant Osberne William husbandman 587760 587760 Osberne, William, of Eston Bavent, husbandman 1
5520364 2511190 2511190 defendant Kydman William shoemaker 589513 589513 Kydman, William, of Leyston, shoemaker 2
5520365 2511190 2511190 defendant Skyll John husbandman 596190 596190 Skyll, John, of Westylton, husbandman 3
5520366 2511190 2511190 defendant Lese Thomas laborer 603924 603924 Lese, Thomas, of Henham, laborer 4

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