home / cp40x

names

7 rows where case_id = 2004092

✎ 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
3941287 2004092 2004092 plaintiff Totthyll Geoffrey     Totthyll, Geoffrey 0
3941288 2004092 2004092 defendant Heydon Thomas gent 643918 643918 Heydon, Thomas, of Woodbury, Devon, gent 0
3941289 2004092 2004092 defendant Brown Edward gent 593796 593796 Brown, Edward, of Salisbury, Wilts, gent 1
3941290 2004092 2004092 defendant Pawe John yeoman 596015 596015 Pawe, John, of Okehampton, Devon, yeoman 2
3941291 2004092 2004092 defendant Merycke Ralph yeoman 593473 593473 Merycke, Ralph, of Uplyme, Devon, yeoman 3
3941292 2004092 2004092 defendant Kerswell John gent 592582 592582 Kerswell, John, of Colyton, Devon, gent 4
3941293 2004092 2004092 defendant Wryght Hugh gent 585869 585869 Wryght, Hugh, of London, gent 5

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 27.327ms