home / cp40x

names

6 rows where case_id = 2335250

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4928203 2335250 2335250 plaintiff Shobot Andrew     Shobot, Andrew 0
4928204 2335250 2335250 defendant Cherche Nicholas pedder 596298 596298 Cherche, Nicholas, of Beccles, pedder 0
4928205 2335250 2335250 defendant Baldewyn John husbandman 609858 609858 Baldewyn, John, of Sethyng, Norf, husbandman 1
4928206 2335250 2335250 defendant Smyth Alexander (legal representative) 598220 598220 Smyth, Alexander, of Halesworth, executors of 2
4928207 2335250 2335250 defendant Jose Roger smith 776909 776909 (Jose, Roger, of Halesworthe, smith 3
4928208 2335250 2335250 defendant Jose Margaret     Margaret, his wife 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 14.406ms