home / cp40x

names

6 rows where case_id = 1870234

✎ 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
3608244 1870234 1870234 plaintiff Strangways James knight   Strangways, James, knight 0
3608245 1870234 1870234 plaintiff Paycok John     Paycok, John 1
3608246 1870234 1870234 plaintiff Paycok Isabel former wife of Bayn, William   Isabel his wife, former wife of Bayn, William 2
3608247 1870234 1870234 defendant Bulmer William, senior esq 589367 589367 Bulmer, William, senior, of Wylton, esq 0
3608248 1870234 1870234 defendant Thomson Robert husbandman 592613 592613 Thomson, Robert, of Buskby, husbandman 1
3608249 1870234 1870234 defendant Hewardyn John husbandman 592614 592614 Hewardyn, John, of Dromondby, husbandman 2

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 16.329ms