home / cp40x

names

8 rows where case_id = 2361132

✎ 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
5014580 2361132 2361132 plaintiff Bere Thomas     Bere, Thomas 0
5014581 2361132 2361132 plaintiff Bryand Reginald     Bryand, Reginald 1
5014582 2361132 2361132 plaintiff Harry Robert     Harry, Robert 2
5014583 2361132 2361132 defendant Goos John husbandman 835274 835274 Goos, John, of Roswork, husbandman 0
5014584 2361132 2361132 defendant Brenton Richard husbandman 835275 835275 Brenton, Richard, of Tremayle, husbandman 1
5014585 2361132 2361132 defendant Benet Luke husbandman 835276 835276 Benet, Luke, of Cadwen, husbandman 2
5014586 2361132 2361132 defendant Laury Alvered tinner 619779 619779 Laury, Alvered, of Tremore, tinner 3
5014587 2361132 2361132 defendant Body John   782966 782966 Body, John, of Cardynan, tin merchant 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 11.668ms