home / cp40x

names

6 rows where case_id = 1978049

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3863724 1978049 1978049 plaintiff Jamys Robert (legal representative) 585936 585936 Jamys, Robert, of Norwich, alderman, executors of 0
3863725 1978049 1978049 plaintiff Sywhatt Nicholas alderman 585936 585936 (Sywhatt, Nicholas, of Norwich, alderman 1
3863726 1978049 1978049 plaintiff Rogers William alderman 585936 585936 Rogers, William, of Norwich, alderman 2
3863727 1978049 1978049 plaintiff Wood Edward alderman 585936 585936 Wood, Edward, of Norwich, alderman 3
3863728 1978049 1978049 plaintiff Trace John     Trace, John 4
3863729 1978049 1978049 defendant Pechett John mercer 592185 592185 Pechett, John, of Sheryngham, mercer 0

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