home / cp40x

names

7 rows where case_id = 2364651

✎ 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
5026576 2364651 2364651 plaintiff Lescrop John knight   Lescrop, John, knight 0
5026577 2364651 2364651 defendant Staneley or Staveley Ralph gent 836764 836764 Staneley or Staveley, Ralph, of Eppeworth, Isle of Axey, gent 0
5026578 2364651 2364651 defendant Marshall Robert gent 650216 650216 Marshall, Robert, of Thyrsk, gent 1
5026579 2364651 2364651 defendant Grenewode William gent 836765 836765 Grenewode, William, of Nedyr Stilton, gent 2
5026580 2364651 2364651 defendant Lyndesey Thomas glover 650216 650216 Lyndesey, Thomas, of Thyrsk, glover 3
5026581 2364651 2364651 defendant Bothe John yeoman 650866 650866 Bothe, John, of Harlsey, yeoman 4
5026582 2364651 2364651 defendant Oldam James yeoman 650866 650866 Oldam, James, of Harlsey, yeoman 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.704ms