home / cp40x

names

7 rows where case_id = 2490829

✎ 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
5453160 2490829 2490829 plaintiff W_ John     W_, John 0
5453161 2490829 2490829 plaintiff Coventry Thomas carpenter 585869 585869 Coventry, Thomas, of London, carpenter 1
5453162 2490829 2490829 defendant Sloweman William husbandman 587696 587696 Sloweman, William, of Haukeherst, husbandman 0
5453163 2490829 2490829 defendant Wyvynden John husbandman 596034 596034 Wyvynden, John, of Haukherst, husbandman 1
5453164 2490829 2490829 defendant Walet Lawrence husbandman 596034 596034 Walet, Lawrence, of Haukherst, husbandman 2
5453165 2490829 2490829 defendant Rede Thomas tanner 596022 596022 (Rede, Thomas, of Halden, tanner 3
5453166 2490829 2490829 defendant Rede Agnes formerly wife of Lawrence   Agnes, his wife, formerly wife of Lawrence 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 11.926ms