home / cp40x

names

7 rows where case_id = 1922295

✎ 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
3687599 1922295 1922295 plaintiff Clyffe John clerk   Clyffe, John, clerk 0
3687600 1922295 1922295 plaintiff Smert John clerk   Smert, John, clerk 1
3687601 1922295 1922295 defendant Harrys John laborer 611255 611255 Harrys, John, of Kyngton St Michael, laborer 0
3687602 1922295 1922295 defendant Burchell Edward laborer 590163 590163 Burchell, Edward, of Crudwell, laborer 1
3687603 1922295 1922295 defendant Markys William husbandman 595192 595192 Markys, William, of Lee, husbandman 2
3687604 1922295 1922295 defendant Downe Thomas laborer 611256 611256 Downe, Thomas, of Fowlyswyke, laborer 3
3687605 1922295 1922295 defendant Burchell Agnes widow 611255 611255 Burchell, Agnes, of Kyngton St Michael, widow 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 15.326ms