home / cp40x

names

5 rows where case_id = 2402631

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5155051 2402631 2402631 plaintiff Lyhert Walter bishop of Norwich   Lyhert, Walter, bishop of Norwich 0
5155052 2402631 2402631 defendant Davyson John clerk & parson 595660 595660 Davyson, John, of Walpole, Norf, clerk & parson 0
5155053 2402631 2402631 defendant Wace Simon husbandman 661613 661613 Wace, Simon, of Bodney, Norf, husbandman 1
5155054 2402631 2402631 defendant Grymston William clerk & parson 586121 586121 Grymston, William, of Carleton St Peter, clerk & parson 2
5155055 2402631 2402631 defendant Walton William esq 786850 786850 Walton, William, of East Walton, Norf, esq 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 16.08ms