home / cp40x

names

7 rows where case_id = 2234945

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4612382 2234945 2234945 plaintiff Cotyngham John   593113 593113 Cotyngham, John, of Grymesby 0
4612383 2234945 2234945 defendant Clerk Theobald   774461 774461 Clerk, Theobald, of Elyton 0
4612384 2234945 2234945 defendant Porter William chaplain 587741 587741 Porter, William, of Wystowe, chaplain 1
4612385 2234945 2234945 defendant Sherman William   593113 593113 Sherman, William, of Grymesby 2
4612386 2234945 2234945 defendant Alkbarowe John tailor 593113 593113 Alkbarowe, John, of Grymesby, tailor 3
4612387 2234945 2234945 defendant York John milner   York, John, milner 4
4612388 2234945 2234945 defendant York Alice     Alice, his wife 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 15.257ms