home / cp40x

names

7 rows where case_id = 2229067

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4592728 2229067 2229067 plaintiff Orchard Robert     Orchard, Robert 0
4592729 2229067 2229067 defendant Trewyn Henry     Trewyn, Henry 0
4592730 2229067 2229067 defendant Sele William   754947 754947 Sele, William, of Yevele 1
4592731 2229067 2229067 defendant Whyteby Thomas   588371 588371 Whyteby, Thomas, of Stone 2
4592732 2229067 2229067 defendant Thomas John   588371 588371 Thomas, John, of Stone 3
4592733 2229067 2229067 defendant Bisshop John   772756 772756 Bisshop, John, of Preston Bermundeseye 4
4592734 2229067 2229067 defendant Bisshop Roger   594407 594407 Bisshop, Roger, of Alvyngton 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 18.402ms