home / cp40x

names

6 rows where case_id = 1910280

✎ 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
3649700 1910280 1910280 plaintiff Randolf Robert     Randolf, Robert 0
3649701 1910280 1910280 defendant Sylvestero Thomas miller 588869 588869 Sylvestero, Thomas, of Ansty, miller 0
3649702 1910280 1910280 defendant Whyte Richard innholder 591891 591891 Whyte, Richard, of Colney, innholder 1
3649703 1910280 1910280 defendant Lytstere William   602345 602345 Lytstere, William, of Cothered, shepherd 2
3649704 1910280 1910280 defendant Hemyng Christopher carpenter 602346 602346 Hemyng, Christopher, of Wedyale, carpenter 3
3649705 1910280 1910280 defendant Baker Robert laborer 602347 602347 Baker, Robert, of Uggeley, Essex, 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.638ms