home / cp40x

names

6 rows where case_id = 2467979

✎ 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
5375660 2467979 2467979 plaintiff Rede Richard   589865 589865 Rede, Richard, of Newark 0
5375661 2467979 2467979 defendant Bouker Robert pardoner 586846 586846 Bouker, Robert, of Lincoln, pardoner 0
5375662 2467979 2467979 defendant Smalwode Robert yeoman 810911 810911 Smalwode, Robert, of Middelham, Yorks, yeoman 1
5375663 2467979 2467979 defendant Hert Thomas scrivener 587948 587948 Hert, Thomas, of Newerk, scrivener 2
5375664 2467979 2467979 defendant Halton Thomas laborer 586383 586383 Halton, Thomas, of Stamford, Lincs, laborer 3
5375665 2467979 2467979 defendant Wode John pardoner 595062 595062 Wode, John, of Wygyn, Lancs, pardoner 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 17.634ms