home / cp40x

names

7 rows where case_id = 1866560

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3596561 1866560 1866560 plaintiff Pires John   587760 587760 Pires, John, of Eston Bavent 0
3596562 1866560 1866560 defendant Walle Peter   589105 589105 Walle, Peter, of Chelsworthm husbandman 0
3596563 1866560 1866560 defendant Eye John butcher 585934 585934 Eye, John, of Becclys, butcher 1
3596564 1866560 1866560 defendant Slough John husbandman 589106 589106 Slough, John, of Hynton, Blyburgh, husbandman 2
3596565 1866560 1866560 defendant Wode Robert husbandman 589107 589107 Wode, Robert, of Benaker, husbandman 3
3596566 1866560 1866560 defendant Wynne John husbandman 589108 589108 Wynne, John, of Hemesby, Norf, husbandman 4
3596567 1866560 1866560 defendant Couper David husbandman 586638 586638 Couper, David, of Southwold, husbandman 5

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