home / cp40x

names

7 rows where case_id = 1979514

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3867945 1979514 1979514 plaintiff Smyth Thomas     Smyth, Thomas 0
3867946 1979514 1979514 defendant Tomson William husbandman 602392 602392 Tomson, William, of Helgey, husbandman 0
3867947 1979514 1979514 defendant Lakforth John butcher 591890 591890 Lakforth, John, of Castellacre, butcher 1
3867948 1979514 1979514 defendant Lakforth William butcher 591890 591890 Lakforth, William, of Castellacre, butcher 2
3867949 1979514 1979514 defendant Barret George butcher 585900 585900 Barret, George, of Saham Tony, butcher 3
3867950 1979514 1979514 defendant Ovyngton Robert husbandman   Ovyngton, Robert, husbandman 4
3867951 1979514 1979514 defendant Mey Thomas   594580 594580 Mey, Thomas, of Swafham Market, shepherd 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.804ms