home / cp40x

names

8 rows where case_id = 2377026

✎ 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
5068311 2377026 2377026 plaintiff (not given)   abbot of Peterborough Abbey   Peterborough Abbey, abbot of 0
5068312 2377026 2377026 defendant Mylton Lawrence yeoman 587177 587177 Mylton, Lawrence, of Staunford, Lincs, yeoman 0
5068313 2377026 2377026 defendant Sowele Richard dyer 769035 769035 Sowele, Richard, of Petirburgh, dyer 1
5068314 2377026 2377026 defendant Polton Henry husbandman 829466 829466 Polton, Henry, of Thorp juxta Petirburgh, husbandman 2
5068315 2377026 2377026 defendant Edons Thomas husbandman 600051 600051 Edons, Thomas, of Castre, husbandman 3
5068316 2377026 2377026 defendant Knyght Richard husbandman 754696 754696 Knyght, Richard, of Eylesworth, husbandman 4
5068317 2377026 2377026 defendant Hunt William husbandman 754696 754696 Hunt, William, of Eylesworth, husbandman 5
5068318 2377026 2377026 defendant Foke William husbandman 754696 754696 Foke, William, of Eylesworth, husbandman 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 13.724ms