home / cp40x

names

7 rows where place_id = 602895

✎ 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
3652196 1911027 1911027 defendant Hybberd John yeoman 602895 602895 Hybberd, John, of Segre, yeoman 1
3696518 1925140 1925140 plaintiff Sewyd Simon miller 602895 602895 Sewyd, Simon, of Segre, miller 0
4463885 2189382 2189382 defendant Witton Richard   602895 602895 Witton, Richard, of Segre 0
4517829 2205963 2205963 plaintiff Danyell John   602895 602895 Danyell, John, of Segre 0
4942773 2339710 2339710 defendant Stevenes Roger husbandman 602895 602895 Stevenes, Roger, of Segre, husbandman 0
4964271 2346223 2346223 defendant Soke William husbandman 602895 602895 Soke, William, of Segre, husbandman 2
5620312 2550210 2550210 plaintiff russell John   602895 602895 russell, John, of Segre 0

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.056ms