home / cp40x

names

8 rows where place_id = 681561

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, raw_segment

id ▼ case_id role surname forename occupation place_id raw_segment seq
4045508 2040845 2040845 defendant Otes Gilbert chapman 681561 681561 Otes, Gilbert, of Hallifaxe, Yorks, chapman 0
4045511 2040846 2040846 defendant Otes Gilbert chapman 681561 681561 Otes, Gilbert, of Hallifaxe, Yorks, chapman 0
4099425 2060124 2060124 defendant Carter William chapman 681561 681561 Carter, William, of Hallifaxe, Yorks, chapman 0
4119004 2067079 2067079 defendant Wilkenson Edward clothier 681561 681561 Wilkenson, Edward, of Hallifaxe, Yorks, clothier 0
4124728 2069139 2069139 defendant Rodes William clothier 681561 681561 Rodes, William, of Hallifaxe, Yorks, clothier 0
4128916 2070639 2070639 defendant Whitley John chapman 681561 681561 Whitley, John, of Hallifaxe, Yorks, chapman 0
4128918 2070640 2070640 defendant Whitlye Michael chapman 681561 681561 Whitlye, Michael, of Hallifaxe, Yorks, chapman 0
4396036 2163250 2163250 defendant Knowles Edward yeoman 681561 681561 Knowles, Edward, of Hallifaxe, Yorks, yeoman 0

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