home / cp40x

names

6 rows where case_id = 2476298

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5404267 2476298 2476298 plaintiff Pawe Andrew   585936 585936 Pawe, Andrew, of Norwich 0
5404268 2476298 2476298 defendant Pygon Thomas husbandman 589679 589679 Pygon, Thomas, of Knapton, husbandman 0
5404269 2476298 2476298 defendant Aleyn Nicholas husbandman 587672 587672 Aleyn, Nicholas, of Horsted, husbandman 1
5404270 2476298 2476298 defendant Barker of Banyngham husbandman   Barker, of Banyngham, husbandman 2
5404271 2476298 2476298 defendant Gerard Thomas husbandman 597541 597541 Gerard, Thomas, of Heynford, husbandman 3
5404272 2476298 2476298 defendant Reede Thomas butcher 606087 606087 Reede, Thomas, of Suffeld, butcher 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 11.554ms