home / cp40x

names

7 rows where case_id = 2529329

✎ 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
5581619 2529329 2529329 plaintiff Cornerd John clerk   Cornerd, John, clerk 0
5581620 2529329 2529329 defendant Brynkle Gilbert yeoman 586180 586180 Brynkle, Gilbert, of Bury St Edmunds, yeoman 0
5581621 2529329 2529329 defendant Baron Thomas baker 586180 586180 Baron, Thomas, of Bury St Edmunds, baker 1
5581622 2529329 2529329 defendant Wright Thomas clerk 619457 619457 Wright, Thomas, of Bradfeld Monks, Suff, clerk 2
5581623 2529329 2529329 defendant Bright William (legal representative)   Bright, William, executrix of 3
5581624 2529329 2529329 defendant Bright Agnes widow 613940 613940 Bright, Agnes, of Bradfeld Monks, widow 4
5581625 2529329 2529329 defendant Fuller Andrew husbandman 902542 902542 Fuller, Andrew, of Edelvedon, Suff, 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 11.112ms