home / cp40x

names

5 rows where case_id = 2040185

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4043643 2040185 2040185 plaintiff Powlter William vintner 585869 585869 Powlter, William, of London, vintner 0
4043644 2040185 2040185 defendant Smyth William haberdasher 681158 681158 Smyth, William, of Lytchefyld, Staffs, haberdasher 0
4043645 2040185 2040185 defendant Sheldon John   586117 586117 Sheldon, John, of Coventry, silk weaver 1
4043646 2040185 2040185 defendant Holland John clerk 681160 681160 Holland, John, of Farmyngham, Kent, clerk 2
4043647 2040185 2040185 defendant Fowle Robert goldsmith 592217 592217 Fowle, Robert, of Chichester, Sussex, goldsmith 3

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.686ms