home / cp40x

names

8 rows where case_id = 1940936

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, place_id

id ▼ case_id role surname forename occupation place_id raw_segment seq
3746857 1940936 1940936 defendant Stanburne Thomas clerk 622416 622416 Stanburne, Thomas, of Thornton in le More, clerk 0
3746858 1940936 1940936 defendant Mounton William chaplain 619293 619293 Mounton, William, of South Kelsey, chaplain 1
3746859 1940936 1940936 defendant Blithe Robert yeoman 622417 622417 Blithe, Robert, of South Kelsay, yeoman 2
3746860 1940936 1940936 defendant Sulby William laborer 622417 622417 Sulby, William, of South Kelsay, laborer 3
3746861 1940936 1940936 defendant Cante John carpenter 622418 622418 Cante, John, of North Kelsay, carpenter 4
3746862 1940936 1940936 defendant Dode Gerard miller 622418 622418 Dode, Gerard, of North Kelsay, miller 5
3746863 1940936 1940936 defendant Loker Robert laborer 604202 604202 Loker, Robert, of Cadney, laborer 6
3746864 1940936 1940936 defendant Wylmayde William laborer 622419 622419 Wylmayde, William, of Canay, laborer 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 15.929ms