home / cp40x

names

5 rows where case_id = 2356736

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4999538 2356736 2356736 plaintiff Legburn John (legal representative) 586846 586846 Legburn, John, of Lincoln, clerk & residentary canon in the cathedral church of the BM, executors of 0
4999539 2356736 2356736 plaintiff Sutton Andrew   616182 616182 (Sutton, Andrew, of Gretham, parson 1
4999540 2356736 2356736 plaintiff Calthorp William master, formerly chaplain in the chantry of Ravenser, in the cathedral church of the BM, in Lincoln   Calthorp, William, master, formerly chaplain in the chantry of Ravenser, in the cathedral church of the BM, in Lincoln 2
4999541 2356736 2356736 defendant Marsshall Henry husbandman 811155 811155 Marsshall, Henry, of Langford, Berks, husbandman 0
4999542 2356736 2356736 defendant Wren Nicholas husbandman 717650 717650 Wren, Nicholas, of Brampton, Oxon, husbandman 1

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