home / cp40x

names

5 rows where case_id = 2520504

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: occupation, place_id

id ▼ case_id role surname forename occupation place_id raw_segment seq
5551591 2520504 2520504 defendant Bourchier Henry Earl of Essex   Bourchier, Henry, Earl of Essex 0
5551592 2520504 2520504 defendant Baryngton Nicholas gent 633190 633190 Baryngton, Nicholas, of Hatfeld Bradok, gent 1
5551593 2520504 2520504 defendant Tyrell Jasper gent 618885 618885 Tyrell, Jasper, of Gyppyng, Suff, gent 2
5551594 2520504 2520504 defendant Peche John yeoman 598611 598611 Peche, John, of Stansted, yeoman 3
5551595 2520504 2520504 defendant Dey William yeoman 598611 598611 Dey, William, of Stansted, yeoman 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 19.381ms