home / cp40x

names

6 rows where case_id = 2449127

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5313695 2449127 2449127 plaintiff Boys Thomas     Boys, Thomas 0
5313696 2449127 2449127 defendant Robynson John yeoman 588756 588756 Robynson, John, of Holton, yeoman 0
5313697 2449127 2449127 defendant Tyler Philip husbandman 598487 598487 Tyler, Philip, of Marum, husbandman 1
5313698 2449127 2449127 defendant Bokette Robert husbandman 598487 598487 Bokette, Robert, of Marum, husbandman 2
5313699 2449127 2449127 defendant Cokes John husbandman 598487 598487 Cokes, John, of Marum, husbandman 3
5313700 2449127 2449127 defendant Est John husbandman 598487 598487 Est, John, of Marum, 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 16.244ms