home / cp40x

names

7 rows where case_id = 2374625

✎ 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
5060207 2374625 2374625 plaintiff Forde Robert   587176 587176 Forde, Robert, of Aylesbury 0
5060208 2374625 2374625 defendant Gilbert Richard husbandman 588371 588371 Gilbert, Richard, of Stone, husbandman 0
5060209 2374625 2374625 defendant Est Richard maltman 643675 643675 Est, Richard, of Drayton Beauchamp, maltman 1
5060210 2374625 2374625 defendant Cotes William husbandman 609150 609150 Cotes, William, of Walton juxta Aylesbury, husbandman 2
5060211 2374625 2374625 defendant Howys John husbandman 596683 596683 Howys, John, of Berton, husbandman 3
5060212 2374625 2374625 defendant Howys Robert husbandman 596683 596683 Howys, Robert, of Berton, husbandman 4
5060213 2374625 2374625 defendant Hychecok Robert husbandman 841606 841606 Hychecok, Robert, of Bokelonde, 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.716ms