home / cp40x

names

7 rows where case_id = 2322531

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4886154 2322531 2322531 plaintiff Vaus William esq   Vaus, William, esq 0
4886155 2322531 2322531 plaintiff Tresham William     Tresham, William 1
4886156 2322531 2322531 defendant Heylot Robert gent 597505 597505 Heylot, Robert, of Lesyngham, gent 0
4886157 2322531 2322531 defendant Fuller John yeoman 613875 613875 together with Fuller, John, of Staleham, yeoman 1
4886158 2322531 2322531 defendant Eye John yeoman 585936 585936 Eye, John, of Norwich, yeoman 2
4886159 2322531 2322531 defendant Broun Robert reder or reeder 585936 585936 together with Broun, Robert, of Norwich, reder or reeder 3
4886160 2322531 2322531 defendant Broun Bartholomew reder or reeder 585936 585936 Broun, Bartholomew, of Norwich, reder or reeder 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 16.01ms