home / cp40x

names

7 rows where case_id = 1965460

✎ 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
3824246 1965460 1965460 plaintiff Warner John     Warner, John 0
3824247 1965460 1965460 plaintiff Seman William churchwardens of Langham   Seman, William, churchwardens of Langham 1
3824248 1965460 1965460 plaintiff Thedam John     Thedam, John 2
3824249 1965460 1965460 plaintiff Spaldyng Robert     Spaldyng, Robert 3
3824250 1965460 1965460 plaintiff Smyth John     Smyth, John 4
3824251 1965460 1965460 plaintiff West John     West, John 5
3824252 1965460 1965460 defendant (not given) George rector of Sandford 589201 589201 Sandford, George, of Fernham, rector of Langham 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 15.179ms