home / cp40x

names

7 rows where case_id = 2500123

✎ 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
5483887 2500123 2500123 plaintiff Lymbery Thomas     Lymbery, Thomas 0
5483888 2500123 2500123 defendant Jenkyn Richard merchant 597030 597030 Jenkyn, Richard, of Bernestaple, Devon, merchant 0
5483889 2500123 2500123 defendant Trypkunyn Walter gent 600523 600523 Trypkunyn, Walter, of St Columbe the Over, gent 1
5483890 2500123 2500123 defendant Antron William gent 822800 822800 Antron, William, of Antron, gent 2
5483891 2500123 2500123 defendant Free Richard (legal representative) 892114 892114 Free, Richard, of Over Bodynyell, husbandman, executors of 3
5483892 2500123 2500123 defendant Free Thomas husbandman 892114 892114 (Free, Thomas, of Over Bodynyell, husbandman 4
5483893 2500123 2500123 defendant Free Joan widow   Free, Joan, widow 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 13.002ms