home / cp40x

names

7 rows where case_id = 2491917

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5456660 2491917 2491917 plaintiff Clerk Thomas     Clerk, Thomas 0
5456661 2491917 2491917 defendant Maunsfeld John husbandman 889563 889563 Maunsfeld, John, of Benygnton, Herts, husbandman 0
5456662 2491917 2491917 defendant Olyver John (legal representative)   Olyver, John, executors of 1
5456663 2491917 2491917 defendant Michell John husbandman 627208 627208 (Michell, John, of Aston, Herts, husbandman 2
5456664 2491917 2491917 defendant Horley Robert brewer 589715 589715 Horley, Robert, of Chesthunt, Herts, brewer 3
5456665 2491917 2491917 defendant Wadelove Thomas yeoman 586935 586935 Wadelove, Thomas, of Royston, yeoman 4
5456666 2491917 2491917 defendant Olyver Edward maltman 889564 889564 Olyver, Edward, of Beyngton, Herts, maltman 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 16.458ms