home / cp40x

names

6 rows where case_id = 2422368

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5222743 2422368 2422368 plaintiff Moseley Robert     Moseley, Robert 0
5222744 2422368 2422368 defendant Stone John clerk 586927 586927 Stone, John, of Rokeby, Warks, clerk 0
5222745 2422368 2422368 defendant Carter Richard yeoman 836550 836550 Carter, Richard, of Salbrigge, Warks, yeoman 1
5222746 2422368 2422368 defendant Moseley Thomas yeoman 861035 861035 Moseley, Thomas, of Wolvesey, Warks, yeoman 2
5222747 2422368 2422368 defendant Calbek Ralph mercer 586117 586117 Calbek, Ralph, of Coventry, mercer 3
5222748 2422368 2422368 defendant Baxster Alexander ostler 586848 586848 Baxster, Alexander, of Northampton, ostler 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 13.877ms