home / cp40x

names

7 rows where case_id = 2442511

✎ 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
5291469 2442511 2442511 plaintiff Porter John draper 585869 585869 Porter, John, of London, draper 0
5291470 2442511 2442511 defendant Tracy William parson of Hynton, Kent   Tracy, William, parson of Hynton, Kent 0
5291471 2442511 2442511 defendant Bowes William esq 869338 869338 Bowes, William, of Streteham, Durham, esq 1
5291472 2442511 2442511 defendant Wentworth Thomas gent 608158 608158 Wentworth, Thomas, of Calverley, Yorks, gent 2
5291473 2442511 2442511 defendant Calverley Robert gent 602366 602366 Calverley, Robert, of Calverley, gent 3
5291474 2442511 2442511 defendant Hansard Richard esq   Hansard, Richard, esq, executors of 4
5291475 2442511 2442511 defendant Preston Henry gent 869339 869339 (Preston, Henry, of Akelond St Andrew, Durham, 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 13.31ms