home / cp40x

names

7 rows where case_id = 2400985

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5149505 2400985 2400985 plaintiff Dyer John     Dyer, John 0
5149506 2400985 2400985 plaintiff Nobyll John     Nobyll, John 1
5149507 2400985 2400985 defendant Smyth Thomas husbandman 853341 853341 Smyth, Thomas, of Paunseford, in Rumsey, husbandman 0
5149508 2400985 2400985 defendant Bodford Richard husbandman 853342 853342 Bodford, Richard, of Paunseford, husbandman 1
5149509 2400985 2400985 defendant Cabbell Walter husbandman 586119 586119 Cabbell, Walter, of Romsey, husbandman 2
5149510 2400985 2400985 defendant Waryn John husbandman 586119 586119 Waryn, John, of Romsey, husbandman 3
5149511 2400985 2400985 defendant Byterigge Peter husbandman 853343 853343 Byterigge, Peter, of Mottesfount, husbandman 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 16.854ms