home / cp40x

names

6 rows where case_id = 2406983

✎ 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
5170088 2406983 2406983 plaintiff Hawe John     Hawe, John 0
5170089 2406983 2406983 defendant Bonyng John, sen butcher 783984 783984 Bonyng, John, sen, of Wysbech, Cambs, butcher 0
5170090 2406983 2406983 defendant Ely Simon mercer 783984 783984 Ely, Simon, of Wysbech, Cambs, mercer 1
5170091 2406983 2406983 defendant Dousyng John laborer 593853 593853 Dousyng, John, of Wysbech, laborer 2
5170092 2406983 2406983 defendant Walbot Thomas husbandman 593853 593853 Walbot, Thomas, of Wysbech, husbandman 3
5170093 2406983 2406983 defendant Godefrey Thomas husbandman 593853 593853 Godefrey, Thomas, of Wysbech, 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 14.099ms