home / cp40x

names

7 rows where place_id = 685568

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4063113 2047106 2047106 defendant Davies Stephen chapman 685568 685568 Davies, Stephen, of Crambrooke, Kent, chapman 0
4131870 2071712 2071712 defendant Ruck John chapman 685568 685568 Ruck, John, of Crambrooke, Kent, chapman 0
4190847 2092362 2092362 defendant Fletcher Giles gent 685568 685568 Fletcher, Giles, of Crambrooke, Kent, gent 0
4199225 2095284 2095284 defendant Prattie Thomas clothier 685568 685568 Prattie, Thomas, of Crambrooke, Kent, clothier 1
4213372 2100193 2100193 defendant Cooke Richard clothier 685568 685568 Cooke, Richard, of Crambrooke, Kent, clothier 1
4386342 2160110 2160110 defendant Taylor Lawrence draper 685568 685568 Taylor, Lawrence, of Crambrooke, Kent, draper 0
4386343 2160110 2160110 defendant Medcalf Alexander draper 685568 685568 Medcalf, Alexander, of Crambrooke, Kent, draper 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 10.713ms