home / cp40x

names

6 rows where case_id = 2463306

✎ 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
5360475 2463306 2463306 plaintiff Sharp Robert gent   Sharp, Robert, gent 0
5360476 2463306 2463306 defendant Bedyll Mathew yeoman 671032 671032 Bedyll, Mathew, of Mylton juxta Gravesend, Kent, yeoman 0
5360477 2463306 2463306 defendant Boner Ralph husbandman 586304 586304 Boner, Ralph, of Fordham, Cams, husbandman 1
5360478 2463306 2463306 defendant Asshby John gent 585869 585869 Asshby, John, of London, gent 2
5360479 2463306 2463306 defendant Hyton Henry yeoman 833939 833939 Hyton, Henry, of Grafton, Nhants, yeoman 3
5360480 2463306 2463306 defendant Pate John husbandman 589636 589636 Pate, John, of Soham, Cams, husbandman 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 14.706ms