home / cp40x

names

5 rows where case_id = 2503543

✎ 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
5495454 2503543 2503543 plaintiff Haukyns William salter 585869 585869 Haukyns, William, of London, salter 0
5495455 2503543 2503543 defendant Fruscheney Stephen clerk 752389 752389 Fruscheney, Stephen, of feltam, Middx, clerk 0
5495456 2503543 2503543 defendant Lylsell John prior of Dudley Priory, Dtaffs   Lylsell, John, prior of Dudley Priory, Dtaffs 1
5495457 2503543 2503543 defendant Baker Walter vicar of Wokyng, Surrey   Baker, Walter, vicar of Wokyng, Surrey 2
5495458 2503543 2503543 defendant Yaremouthe William draper 641079 641079 Yaremouthe, William, of Wargrave, Berks, draper 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 12.719ms