home / cp40x

names

6 rows where case_id = 1919243

✎ 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
3678223 1919243 1919243 plaintiff Merler Richard mercer 586117 586117 Merler, Richard, of Coventry, mercer 0
3678224 1919243 1919243 defendant Skynner John chapman 586548 586548 Skynner, John, of Alcetur, Warks, chapman 0
3678225 1919243 1919243 defendant Magott William yeoman 597277 597277 Magott, William, of Coughton, Warks, yeoman 1
3678226 1919243 1919243 defendant Churchyard Thomas chapman 586431 586431 Churchyard, Thomas, of Lychefeld, Staffs, chapman 2
3678227 1919243 1919243 defendant Thomason John chapman 609390 609390 Thomason, John, of Stonley, Warks, chapman 3
3678228 1919243 1919243 defendant Brereton Robert gent 609391 609391 Brereton, Robert, of Henley in Arderne, Warks, gent 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.077ms