home / cp40x

names

6 rows where case_id = 2258682

✎ 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
4677829 2258682 2258682 plaintiff Hende John     Hende, John 0
4677830 2258682 2258682 defendant Bulbek John fuller 597970 597970 Bulbek, John, of Feryng, fuller 0
4677831 2258682 2258682 defendant Edward John carpetner 592252 592252 Edward, John, of Dunmowe, carpetner 1
4677832 2258682 2258682 defendant Noke John husbandman 769768 769768 Noke, John, of Wretele, husbandman 2
4677833 2258682 2258682 defendant Routon Robert husbandman 753386 753386 Routon, Robert, of Branketre, husbandman 3
4677834 2258682 2258682 defendant Trumpyngton John maltman 603336 603336 Trumpyngton, John, of Lynton, Cambs, maltman 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 11.419ms