home / cp40x

names

8 rows where case_id = 2393677

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5124629 2393677 2393677 plaintiff Abell John     Abell, John, on his own account 0
5124630 2393677 2393677 defendant Savage Geoffrey   849224 849224 Savage, Geoffrey, of Kenelworth, Warws 0
5124631 2393677 2393677 defendant Dalby Richard gent 849225 849225 Dalby, Richard, of Bukhampton, Warws, gent 1
5124632 2393677 2393677 defendant Askell John husbandman 849226 849226 Askell, John, of Chepyng Dorset, Warws, husbandman 2
5124633 2393677 2393677 defendant Symson Henry yeoman 849224 849224 Symson, Henry, of Kenelworth, Warws, yeoman 3
5124634 2393677 2393677 defendant Norston Walter walker 586117 586117 Norston, Walter, of Coventry, walker 4
5124635 2393677 2393677 defendant Went Richard whitawer 586117 586117 Went, Richard, of Coventry, whitawer 5
5124636 2393677 2393677 defendant Maynard John mercer 586117 586117 Maynard, John, of Coventry, mercer 6

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