home / cp40x

names

6 rows where case_id = 1981640

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3874329 1981640 1981640 plaintiff Cowper Thomas     Cowper, Thomas 0
3874330 1981640 1981640 defendant Holdernes Simon plumber 587172 587172 Holdernes, Simon, of Est Derham, plumber 0
3874331 1981640 1981640 defendant Slegge Simon yeoman 600379 600379 Slegge, Simon, of Est Denham, yeoman 1
3874332 1981640 1981640 defendant Glover Robert husbandman 587172 587172 Glover, Robert, of Est Derham, husbandman 2
3874333 1981640 1981640 defendant Colyns John husbandman 587172 587172 Colyns, John, of Est Derham, husbandman 3
3874334 1981640 1981640 defendant Nutte john husbandman 587172 587172 Nutte, john, of Est Derham, husbandman 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.979ms