home / cp40x

names

7 rows where place_id = 645808

✎ 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
3887544 1986085 1986085 defendant Somerby John yeoman 645808 645808 Somerby, John, of Cyrencestr, yeoman 0
3890524 1987089 1987089 defendant Shuryng Robert mercer 645808 645808 Shuryng, Robert, of Cyrencestr, mercer 2
3892769 1987833 1987833 defendant Osmunde Robert yeoman 645808 645808 Osmunde, Robert, of Cyrencestr, yeoman 0
3894245 1988293 1988293 defendant Surman John glover 645808 645808 Surman, John, of Cyrencestr, glover 0
3895749 1988787 1988787 defendant Heynes John smith 645808 645808 Heynes, John, of Cyrencestr, smith 0
4441480 2182273 2182273 defendant Russel Robert   645808 645808 Russel, Robert, of Cyrencestr 0
4452287 2185703 2185703 defendant Russell Robert   645808 645808 Russell, Robert, of Cyrencestr 4

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