home / cp40x

names

8 rows where case_id = 2494878

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5466370 2494878 2494878 plaintiff Arblaster James esq   Arblaster, James, esq 0
5466371 2494878 2494878 defendant Freman John husbandman 590534 590534 Freman, John, of Billerica, Essex, husbandman 0
5466372 2494878 2494878 defendant Forde William husbandman 871968 871968 Forde, William, of Wykys, Essex, husbandman 1
5466373 2494878 2494878 defendant Rothe John husbandman 594683 594683 Rothe, John, of Tendryng, Essex, husbandman 2
5466374 2494878 2494878 defendant Elam Thomas miller 601937 601937 Elam, Thomas, of Ersham, miller 3
5466375 2494878 2494878 defendant Williamson John (legal representative) 626048 626048 Williamson, John, of Wygenhale St Mary, executors of 4
5466376 2494878 2494878 defendant Reynes John husbandman 586231 586231 (Reynes, John, of Wygenhale, husbandman 5
5466377 2494878 2494878 defendant Baron John   586231 586231 Baron, John, of Wygenhale 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 17.281ms