home / cp40x

names

5 rows where case_id = 2139955

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4328827 2139955 2139955 plaintiff Hopkyns Robert     Hopkyns, Robert 0
4328828 2139955 2139955 defendant Williams Henry chapman 738207 738207 Williams, Henry, of Cratfeild, Suff, chapman 0
4328829 2139955 2139955 defendant Lane James chapman 661848 661848 Lane, James, of Atherston, Leics, chapman 1
4328830 2139955 2139955 defendant Covell Henry skinner 586180 586180 Covell Henry, of Bury St Edmunds, skinner 2
4328831 2139955 2139955 defendant Pye Mary widow 586180 586180 Pye, Mary, of Bury St Edmunds, widow 3

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.089ms