home / cp40x

names

6 rows where case_id = 1939502

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3742425 1939502 1939502 plaintiff Turnebill Jasper (legal representative) 704241 704241 Turnebill, Jasper, of Ropesley, executors of 0
3742426 1939502 1939502 plaintiff Turnebull Margaret widow   (Turnebull, Margaret, widow 1
3742427 1939502 1939502 plaintiff Erland Ralph rector of Saperton   Erland, Ralph, rector of Saperton 2
3742428 1939502 1939502 defendant Toller Leonard chandler 587205 587205 Toller, Leonard, of Grantham, chandler 0
3742429 1939502 1939502 defendant Bracebrig Edmund gent 587205 587205 Bracebrig, Edmund, of Grantham, gent 1
3742430 1939502 1939502 defendant Man John husbandman 587205 587205 Man, John, of Grantham, husbandman 2

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.209ms