home / cp40x

names

9 rows where case_id = 1987980

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3893267 1987980 1987980 plaintiff Pateshale Roger     Pateshale, Roger 0
3893268 1987980 1987980 defendant Mores Philip husbandman 590059 590059 Mores, Philip, of Byford, husbandman 0
3893269 1987980 1987980 defendant Mores Lawrence laborer 590059 590059 Mores, Lawrence, of Byford, laborer 1
3893270 1987980 1987980 defendant Smyth John laborer 590059 590059 Smyth, John, of Byford, laborer 2
3893271 1987980 1987980 defendant ap Ithell David of Byford laborer   ap Ithell, David of Byford, laborer 3
3893272 1987980 1987980 defendant Brown John chaplain 593064 593064 Brown, John, of Blakemore, chaplain 4
3893273 1987980 1987980 defendant Pressyons John onf Monyngton, laborer   Pressyons, John, onf Monyngton, laborer 5
3893274 1987980 1987980 defendant ap Res Lewis laborer 590059 590059 ap Res, Lewis, of Byford, laborer 6
3893275 1987980 1987980 defendant Gomond Eleanor widow   Gomond, Eleanor, widow 7

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 14.076ms