home / cp40x

names

8 rows where case_id = 2428682

✎ 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
5244894 2428682 2428682 plaintiff Powys William     Powys, William 0
5244895 2428682 2428682 defendant Denny John husbandman 609860 609860 Denny, John, of Parva Stonham, husbandman 0
5244896 2428682 2428682 defendant Caumpe John husbandman 607818 607818 Caumpe, John, of Stonham Aspall, husbandman 1
5244897 2428682 2428682 defendant Abell Thomas laborer 587324 587324 Abell, Thomas, of Ratlysden, laborer 2
5244898 2428682 2428682 defendant Abell John laborer 587324 587324 Abell, John, of Ratlysden, laborer 3
5244899 2428682 2428682 defendant Costard John miller 587324 587324 Costard, John, of Ratlysden, miller 4
5244900 2428682 2428682 defendant Cage Robert barker 587324 587324 Cage, Robert, of Ratlysden, barker 5
5244901 2428682 2428682 defendant Draper John weaver 586818 586818 Draper, John, of Stowemarket, weaver 6

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.696ms