home / cp40x

names

6 rows where case_id = 2455853

✎ 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
5336032 2455853 2455853 plaintiff Gyles William     Gyles, William 0
5336033 2455853 2455853 defendant Watford John gent 635883 635883 Watford, John, of Wykeley, gent 0
5336034 2455853 2455853 defendant Smart John husbandman 635883 635883 Smart, John, of Wykeley, husbandman 1
5336035 2455853 2455853 defendant Wynde John draper 585925 585925 Wynde, John, of Bristol, draper 2
5336036 2455853 2455853 defendant Foster John weaver 648719 648719 Foster, John, of Ketryng, weaver 3
5336037 2455853 2455853 defendant Webster John husbandman 586752 586752 Webster, John, of Gretton, husbandman 4

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 15.271ms