home / cp40x

names

8 rows where case_id = 2532953

✎ 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
5593500 2532953 2532953 plaintiff Aldham Thomas (legal representative) 590668 590668 Aldham, Thomas, of Pyrleston, executors of 0
5593501 2532953 2532953 plaintiff Aldham Robert     (Aldham, Robert 1
5593502 2532953 2532953 plaintiff Aldham William     Aldham, William 2
5593503 2532953 2532953 plaintiff Thurston John     Thurston, John 3
5593504 2532953 2532953 defendant Page William yeoman 860240 860240 Page, William, of Osmondeston, Norf, yeoman 0
5593505 2532953 2532953 defendant Skole Richard yeoman 625079 625079 Skole, Richard, of Osmondeston, yeoman 1
5593506 2532953 2532953 defendant Crane John husbandman 625079 625079 Crane, John, of Osmondeston, husbandman 2
5593507 2532953 2532953 defendant Dene Ralph draper 596003 596003 Dene, Ralph, of Leystofte, draper 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 17.141ms