home / cp40x

names

5 rows where case_id = 2494308

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5464515 2494308 2494308 plaintiff Thornhyll Richard mercer 585869 585869 Thornhyll, Richard, of London, mercer 0
5464516 2494308 2494308 defendant Milner Henry mercer 783919 783919 Milner, Henry, of Warwyke, Warws, mercer 0
5464517 2494308 2494308 defendant Peeke William mercer 890318 890318 Peeke, William, of Nottingham, Nots, mercer 1
5464518 2494308 2494308 defendant dyer William brasier 586162 586162 dyer, William, of Evesham, Worcs, brasier 2
5464519 2494308 2494308 defendant Keyt Thomas mercer 781273 781273 Keyt, Thomas, of Warwick, Warws, mercer 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 17.64ms