home / cp40x

names

7 rows where case_id = 2230941

✎ 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
4599125 2230941 2230941 plaintiff Stevenson Richard (legal representative) 586286 586286 Stevenson, Richard, of Boston, merchant, executors of 0
4599126 2230941 2230941 plaintiff Meers John de   739739 739739 (Meers, John de, of Kirketon 1
4599127 2230941 2230941 plaintiff Michell William   649656 649656 Michell, William, of Friskenay 2
4599128 2230941 2230941 plaintiff Slory John   612120 612120 Slory, John, of Sleford 3
4599129 2230941 2230941 plaintiff Edlyngton John chaplain 586286 586286 Edlyngton, John, of Boston, chaplain 4
4599130 2230941 2230941 defendant Edlyngton Thomas de     Edlyngton, Thomas de 0
4599131 2230941 2230941 defendant Rocheford John knight   Rocheford, John, knight 1

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 29.366ms