home / cp40x

names

7 rows where case_id = 2522965

✎ 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
5560266 2522965 2522965 plaintiff Smyth John (legal representative) 585869 585869 Smyth, John, of London, stockfishmonger, executors of 0
5560267 2522965 2522965 plaintiff Smyth Isabel widow   (Smyth, Isabel, widow 1
5560268 2522965 2522965 plaintiff Clerk Robert stockfishmonger 585869 585869 Clerk, Robert, of London, stockfishmonger 2
5560269 2522965 2522965 defendant Hamund William clothmaker 602911 602911 Hamund, William, of Byldeston, Suff, clothmaker 0
5560270 2522965 2522965 defendant Heghmore Richard yeoman 586175 586175 Heghmore, Richard, of Canterbury, yeoman 1
5560271 2522965 2522965 defendant Heghmore William clerk 842997 842997 Heghmore, William, of Reculver, Kent, clerk 2
5560272 2522965 2522965 defendant Heghmore Roland yeoman 586175 586175 Heghmore, Roland, of Canterbury, yeoman 3

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 16.528ms