home / cp40x

names

6 rows where case_id = 1909070

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3645734 1909070 1909070 plaintiff Harbotell John esq   Harbotell, John, esq 0
3645735 1909070 1909070 plaintiff Doxworth Henry     Doxworth, Henry 1
3645736 1909070 1909070 defendant Bradford Bartholomew gent 600420 600420 Bradford, Bartholomew, of Burnton, gent 0
3645737 1909070 1909070 defendant Forster Florentine gent 601527 601527 Forster, Florentine, of Neweham, gent 1
3645738 1909070 1909070 defendant Hardyng Bartholomew yeoman 601527 601527 Hardyng, Bartholomew, of Neweham, yeoman 2
3645739 1909070 1909070 defendant Hardyng John yeoman 601528 601528 Hardyng, John, of Newham, yeoman 3

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