home / cp40x

names

4 rows where place_id = 624774

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3760240 1945206 1945206 defendant Pyke William chapman 624774 624774 Pyke, William, of Brystol, chapman 1
3823916 1965351 1965351 defendant Browne John gent 624774 624774 Browne, John, of Brystol, gent 0
5391525 2472649 2472649 plaintiff Playne William barber 624774 624774 Playne, William, of Brystol, barber 0
5414049 2479136 2479136 defendant Taverner Morris merchant 624774 624774 Taverner, Morris, of Brystol, merchant 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 13.814ms