home / cp40x

names

5 rows where case_id = 1866815

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3597429 1866815 1866815 plaintiff Rounketyll Robert     Rounketyll, Robert 0
3597430 1866815 1866815 defendant Smyth Walter husbandman 589378 589378 Smyth, Walter, of Wodbrege, husbandman 0
3597431 1866815 1866815 defendant Thorne Thomas butcher 589360 589360 Thorne, Thomas, of Stratford juxta Heigham, butcher 1
3597432 1866815 1866815 defendant Redgrave William barker 586134 586134 Redgrave, William, of Ipswich, barker 2
3597433 1866815 1866815 defendant Buk Thomas, senior husbandman 587792 587792 Buk, Thomas, senior, of Debenham, husbandman 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.472ms