home / cp40x

names

6 rows where case_id = 1917565

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3673001 1917565 1917565 plaintiff Durdante William     Durdante, William 0
3673002 1917565 1917565 defendant Yelyngforthe John chapman 608278 608278 Yelyngforthe, John, of Powntfret, Yorks, chapman 0
3673003 1917565 1917565 defendant Herbert Richard chapman 586963 586963 Herbert, Richard, of Grantham, Lincs, chapman 1
3673004 1917565 1917565 defendant Smythe Henry chapman 608279 608279 Smythe, Henry, of Melton Mobray, Leics, chapman 2
3673005 1917565 1917565 defendant Bayly John chapman 608280 608280 Bayly, John, of Tukesburye, Glos, chapman 3
3673006 1917565 1917565 defendant Geffrey Richard chapman 585951 585951 Geffrey, Richard, of Winchester, chapman 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.793ms