home / cp40x

names

7 rows where case_id = 2297126

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4802999 2297126 2297126 plaintiff Aylmer Thomas administrators of   Aylmer, Thomas, administrators of 0
4803000 2297126 2297126 plaintiff Huthom Robert     (Huthom, Robert 1
4803001 2297126 2297126 plaintiff Huthom Alice     Alice, his wife 2
4803002 2297126 2297126 defendant Cokstone John tanner 762390 762390 Cokstone, John, of Canefeld, tanner 0
4803003 2297126 2297126 defendant Lamberd Robert butcher 804346 804346 Lamberd, Robert, of King's Hatfleld, butcher 1
4803004 2297126 2297126 defendant Broke Robert tanner 758637 758637 Broke, Robert, of Great Canefeld, tanner 2
4803005 2297126 2297126 defendant Jerdevyle John laborer 804347 804347 Jerdevyle, John, of Mathyng, laborer 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 15.28ms