home / cp40x

names

5 rows where place_id = 616609

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3715296 1931071 1931071 defendant Myller Stephen miller 616609 616609 Myller, Stephen, of Wenday, miller 3
3715297 1931071 1931071 defendant Bell John husbandman 616609 616609 Bell John, of Wenday, husbandman 4
4746950 2279610 2279610 defendant Stalebras John milner 616609 616609 Stalebras, John, of Wenday, milner 0
4821401 2302777 2302777 defendant Fuller Walter husbandman 616609 616609 Fuller, Walter, of Wenday, husbandman 0
5078551 2380080 2380080 defendant Molde John husbandman 616609 616609 Molde, John, of Wenday, husbandman 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.644ms