home / cp40x

names

7 rows where case_id = 2429601

✎ 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
5248176 2429601 2429601 plaintiff Stokton William     Stokton, William 0
5248177 2429601 2429601 defendant Gysell John husbandman 597124 597124 Gysell, John, of Waynflete, husbandman 0
5248178 2429601 2429601 defendant Bust William chapman 598803 598803 Bust, William, of Alford, chapman 1
5248179 2429601 2429601 defendant Berythe Thomas husbandman 758874 758874 Berythe, Thomas, of Burgh in the Merssh, husbandman 2
5248180 2429601 2429601 defendant Flesshewer Simon (legal representative)   Flesshewer, Simon, executors of 3
5248181 2429601 2429601 defendant Flesshewer Alice widow 598803 598803 (Flesshewer, Alice, of Alford, widow 4
5248182 2429601 2429601 defendant Smyth Robert yeoman 598803 598803 Smyth, Robert, of Alford, 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.81ms