home / cp40x

names

7 rows where case_id = 2452202

✎ 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
5323795 2452202 2452202 plaintiff Peper William alderman 585936 585936 Peper, William, of Norwich, mercer, alderman 0
5323796 2452202 2452202 plaintiff Claxton Hamo mercer 585936 585936 Claxton, Hamo, of Norwich, mercer 1
5323797 2452202 2452202 defendant Blekster William smith 586365 586365 Blekster, William, of Wymondham, smith 0
5323798 2452202 2452202 defendant Yedan alias Langley William yeoman 639298 639298 Yedan alias Langley, William, of Lowystofte, Suff, yeoman 1
5323799 2452202 2452202 defendant Marys John hipman 632735 632735 Marys, John, of Crowemer, hipman 2
5323800 2452202 2452202 defendant Notyngham John butcher 594580 594580 Notyngham, John, of Swafham Market, butcher 3
5323801 2452202 2452202 defendant Ponde Edmund butcher 585933 585933 Ponde, Edmund, of Great Yarmouth, butcher 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 15.848ms