home / cp40x

names

7 rows where case_id = 1945115

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3759973 1945115 1945115 plaintiff Corbet Thomas gent   Corbet, Thomas, gent 0
3759974 1945115 1945115 defendant Agarde Thomas yeoman 589162 589162 Agarde, Thomas, of Kynges Bromley, yeoman 0
3759975 1945115 1945115 defendant Crosse William yeoman 589162 589162 Crosse, William, of Kynges Bromley, yeoman 1
3759976 1945115 1945115 defendant Elton Richard carpenter 589162 589162 Elton, Richard, of Kynges Bromley, carpenter 2
3759977 1945115 1945115 defendant Cobstake Ellen widow 589162 589162 Cobstake, Ellen, of Kynges Bromley, widow 3
3759978 1945115 1945115 defendant Urland Hugh laborer 589162 589162 Urland, Hugh, of Kynges Bromley, laborer 4
3759979 1945115 1945115 defendant Dykynson William glover 587826 587826 Dykynson, William, of Lychefeld, glover 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 14.169ms