home / cp40x

names

7 rows where case_id = 2325672

✎ 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
4896845 2325672 2325672 plaintiff Bury John     Bury, John 0
4896846 2325672 2325672 defendant Rendelysham John gent 653246 653246 Rendelysham, John, of Rendelysham, gent 0
4896847 2325672 2325672 defendant Wode Richard yeoman 586928 586928 Wode, Richard, of Monk Soham, yeoman 1
4896848 2325672 2325672 defendant Gosebak John yeoman 589509 589509 Gosebak, John, of Aldeburgh, yeoman 2
4896849 2325672 2325672 defendant Sparhauk Edmund clerk 593151 593151 Sparhauk, Edmund, of Homersfeld, clerk 3
4896850 2325672 2325672 defendant Fuller Thomas   586180 586180 Fuller, Thomas, of Bury St Edmunds, servant 4
4896851 2325672 2325672 defendant Brewester Richard laborer 586180 586180 Brewester, Richard, of Bury St Edmunds, laborer 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 15.847ms