home / cp40x

names

6 rows where place_id = 591817

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3605679 1869441 1869441 defendant Tasker John husbandman 591817 591817 Tasker, John, of Hatherop, husbandman 1
3605684 1869442 1869442 defendant Tasker John husbandman 591817 591817 Tasker, John, of Hatherop, husbandman 1
4988187 2353439 2353439 defendant Yate John husbandman 591817 591817 Yate, John, of Hatherop, husbandman 0
4988188 2353439 2353439 defendant Yate Thomas husbandman 591817 591817 Yate, Thomas, of Hatherop, husbandman 1
5286001 2440916 2440916 defendant Kebull Thomas husbandman 591817 591817 Kebull, Thomas, of Hatherop, husbandman 0
5358010 2462572 2462572 defendant Meysy John husbandman 591817 591817 Meysy, John, of Hatherop, 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 15.31ms