home / cp40x

names

7 rows where case_id = 1866348

✎ 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
3595882 1866348 1866348 plaintiff Nevyle Ralph esq   Nevyle, Ralph, esq 0
3595883 1866348 1866348 defendant Harryson Richard butcher 587266 587266 Harryson, Richard, of Rypon, butcher 0
3595884 1866348 1866348 defendant Chambre Robert butcher 588878 588878 Chambre, Robert, of Helperby, butcher 1
3595885 1866348 1866348 defendant Bradley William yeoman 602243 602243 Bradley, William, of Topclyff, butcher: Stokdale, Henry, of Topclyf, yeoman 2
3595886 1866348 1866348 defendant Lambert of Thomas butcher 588880 588880 Lambert, of Thomas, of Thrysk, butcher 3
3595887 1866348 1866348 defendant Rande Thomas butcher 587266 587266 Rande, Thomas, of Rypon, butcher 4
3595888 1866348 1866348 defendant Flaxton Thomas butcher 586067 586067 Flaxton, Thomas, of York, butcher 5

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