home / cp40x

names

7 rows where case_id = 2470768

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5384947 2470768 2470768 plaintiff Brokhous Edmund     Brokhous, Edmund 0
5384948 2470768 2470768 defendant Dukker John husbandman 881240 881240 Dukker, John, of Milen, husbandman 0
5384949 2470768 2470768 defendant Coull John chapman 620035 620035 Coull, John, of Roderham, chapman 1
5384950 2470768 2470768 defendant Oulden Robert chapman 586568 586568 Oulden, Robert, of Rotherham, chapman 2
5384951 2470768 2470768 defendant Taillour William husbandman 609822 609822 Taillour, William, of Gresbroke, husbandman 3
5384952 2470768 2470768 defendant Coke Nicholas (legal representative)   Coke, Nicholas, executrix of 4
5384953 2470768 2470768 defendant Coke Isabel widow 600144 600144 Coke, Isabel, of Tykhill, widow 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 13.359ms