home / cp40x

names

7 rows where case_id = 2222772

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4571815 2222772 2222772 plaintiff Arches Ralph esq   Arches, Ralph, esq 0
4571816 2222772 2222772 defendant Chelrey Thomas (legal representative)   Chelrey, Thomas, executors of 0
4571817 2222772 2222772 defendant Clerk Walter   757255 757255 (Clerk, Walter, of Chelrey, parson 1
4571818 2222772 2222772 defendant Loundres John   755707 755707 Loundres, John, of Hakebourne, vicar 2
4571819 2222772 2222772 defendant Wolewey Richard     Wolewey, Richard 3
4571820 2222772 2222772 defendant Welcombe Nicholas     Welcombe, Nicholas 4
4571821 2222772 2222772 defendant Pole Thomas knight, Elizabeth, his wife   Pole, Thomas, knight, Elizabeth, his wife 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.902ms