home / cp40x

names

6 rows where case_id = 2512817

✎ 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
5526340 2512817 2512817 plaintiff Howard Thomas Earl of Surrey   Howard, Thomas, Earl of Surrey 0
5526341 2512817 2512817 defendant Merssh William yeoman 594872 594872 Merssh, William, of Lyngfeld, Surrey, yeoman 0
5526342 2512817 2512817 defendant Takyll Nicholas yeoman 589188 589188 Takyll, Nicholas, of Lyngfeld, yeoman 1
5526343 2512817 2512817 defendant Gardener William yeoman 589014 589014 Gardener, William, of Horsham, yeoman 2
5526344 2512817 2512817 defendant Huntley John yeoman 594872 594872 Huntley, John, of Lyngfeld, Surrey, yeoman 3
5526345 2512817 2512817 defendant Seeld Thomas laborer 896445 896445 Seeld, Thomas, of Nuttehurst, 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 13.548ms