home / cp40x

names

6 rows where place_id = 855485

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5147524 2400419 2400419 defendant Wodeward John gent 855485 855485 Wodeward, John, of Chipstead, gent 0
5164491 2405346 2405346 defendant Longeman John laborer 855485 855485 Longeman, John, of Chipstead, laborer 2
5167749 2406282 2406282 defendant Lambe John   855485 855485 Lambe, John, of Chipstead, inland fish seller 0
5193132 2413721 2413721 defendant Longman John   855485 855485 Longman, John, of Chipstead, inland fish seller 0
5307690 2447315 2447315 defendant Toth John   855485 855485 Toth, John, of Chipstead, son of Stephen 0
5453138 2490822 2490822 defendant Byrd John   855485 855485 Byrd, John, of Chipstead, inland fish seller 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 15.47ms