home / cp40x

names

10 rows where case_id = 1929023

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3708705 1929023 1929023 plaintiff Pannell Geofrey esq   Pannell, Geofrey, esq 0
3708706 1929023 1929023 plaintiff Tomson John     Tomson, John 1
3708707 1929023 1929023 defendant Pedder Richard, senior fisher 597185 597185 Pedder, Richard, senior, of Freston, fisher 0
3708708 1929023 1929023 defendant Pedder Richard, junior fisher 597185 597185 Pedder, Richard, junior, of Freston, fisher 1
3708709 1929023 1929023 defendant Pedder John fisher 597185 597185 Pedder, John, of Freston, fisher 2
3708710 1929023 1929023 defendant Morefote John fisher 597185 597185 Morefote, John, of Freston, fisher 3
3708711 1929023 1929023 defendant Pakharnes William, senior fisher 597185 597185 Pakharnes, William, senior, of Freston, fisher 4
3708712 1929023 1929023 defendant Pakharnes William, junior fisher 597185 597185 Pakharnes, William, junior, of Freston, fisher 5
3708713 1929023 1929023 defendant Rudde Hugh fisher 597185 597185 Rudde, Hugh, of Freston, fisher 6
3708714 1929023 1929023 defendant Ben John fisher 597185 597185 Ben, John, of Freston, fisher 7

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