home / cp40x

names

4 rows where place_id = 826714

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4953015 2342868 2342868 defendant Gregory Robert hosteler 826714 826714 Gregory, Robert, of Bagshote, Surrey, hosteler 1
4953018 2342869 2342869 defendant Gregrory Robert hosteler 826714 826714 Gregrory, Robert, of Bagshote, Surrey, hosteler 1
4995323 2355446 2355446 defendant Reyny Thomas venter or vintner 826714 826714 Reyny, Thomas, of Bagshote, Surrey, venter or vintner 1
5496918 2504010 2504010 defendant Hert Nicholas butcher 826714 826714 Hert, Nicholas, of Bagshote, Surrey, butcher 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 10.656ms