home / cp40x

names

8 rows where case_id = 2436957

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5272246 2436957 2436957 plaintiff Howeden John     Howeden, John 0
5272247 2436957 2436957 defendant Gunthorp Robert chapman 587948 587948 Gunthorp, Robert, of Newerk, chapman 0
5272248 2436957 2436957 defendant Gunthorp Thomas tuner 597969 597969 Gunthorp, Thomas, of Thurgarton, tuner 1
5272249 2436957 2436957 defendant Coventry Henry shoemaker 866930 866930 Coventry, Henry, of Selkeholme, shoemaker 2
5272250 2436957 2436957 defendant Hylborn Eleanor widow 600833 600833 Hylborn, Eleanor, of Elston, widow 3
5272251 2436957 2436957 defendant Underon Richard husbandman 642583 642583 Underon, Richard, of Starthorp, husbandman 4
5272252 2436957 2436957 defendant Corby John husbandman 761845 761845 Corby, John, of Haweton, husbandman 5
5272253 2436957 2436957 defendant Skot John tanner 587948 587948 Skot, John, of Newerk, tanner 6

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