home / cp40x

names

8 rows where case_id = 2423722

✎ 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
5227705 2423722 2423722 plaintiff Toutheby John parson of Ketylsby   Toutheby, John, parson of Ketylsby 0
5227706 2423722 2423722 defendant Dughty William husbandman 602915 602915 Dughty, William, of Hanney, husbandman 0
5227707 2423722 2423722 defendant Cowesy Roger clerk 616182 616182 Cowesy, Roger, of Gretham, clerk 1
5227708 2423722 2423722 defendant Cowesy Thomas husbandman 616182 616182 Cowesy, Thomas, of Gretham, husbandman 2
5227709 2423722 2423722 defendant Daweney Robert (legal representative) 635410 635410 Daweney, Robert, of South Ormesby, executors of 3
5227710 2423722 2423722 defendant Pyper Robert husbandman 635410 635410 (Pyper, Robert, of South Ormesby, husbandman 4
5227711 2423722 2423722 defendant Cust Simon husbandman 635410 635410 Cust, Simon, of South Ormesby, husbandman 5
5227712 2423722 2423722 defendant Pycher John husbandman 635410 635410 Pycher, John, of South Ormesby, husbandman 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 12.493ms