home / cp40x

names

7 rows where case_id = 2491581

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5455595 2491581 2491581 plaintiff (not given) John prior of Boxgrave   Boxgrave, John, prior of 0
5455596 2491581 2491581 defendant Kenet Thomas husbandman 871913 871913 Kenet, Thomas, of North Mundeham, husbandman 0
5455597 2491581 2491581 defendant Kenet John husbandman 888000 888000 Kenet, John, of Bruylle, husbandman 1
5455598 2491581 2491581 defendant Bikenholt Richard yeoman 666499 666499 Bikenholt, Richard, of Petersfield, Hants, yeoman 2
5455599 2491581 2491581 defendant Grenstede Thomas husbandman 646024 646024 Grenstede, Thomas, of Kirdford, husbandman 3
5455600 2491581 2491581 defendant Flete Thomas husbandman 889468 889468 Flete, Thomas, of Nursted, husbandman 4
5455601 2491581 2491581 defendant Randolf Ralph husbandman 758352 758352 Randolf, Ralph, of Petersfield, husbandman 5

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