home / cp40x

names

8 rows where case_id = 1975950

✎ 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
3857398 1975950 1975950 plaintiff Ascheley Henry gent   Ascheley, Henry, gent 0
3857399 1975950 1975950 defendant Sherson Stephen laborer 626953 626953 Sherson, Stephen, of Kyllyngton, laborer 0
3857400 1975950 1975950 defendant Horne John husbandman 626953 626953 Horne, John, of Kyllyngton, husbandman 1
3857401 1975950 1975950 defendant Hartley Thomas husbandman 587907 587907 Hartley, Thomas, of Burne, husbandman 2
3857402 1975950 1975950 defendant Horne John laborer 609006 609006 Horne, John, of Beall, laborer 3
3857403 1975950 1975950 defendant Wylkynson William husbandman 626953 626953 Wylkynson, William, of Kyllyngton, husbandman 4
3857404 1975950 1975950 defendant Preston Richard weaver 609006 609006 Preston, Richard, of Beall, weaver 5
3857405 1975950 1975950 defendant Higson Henry laborer 626953 626953 Higson, Henry, of Kyllyngton, laborer 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 16.035ms