home / cp40x

names

6 rows where case_id = 2537855

✎ 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
5609460 2537855 2537855 plaintiff Sharp Robert     Sharp, Robert 0
5609461 2537855 2537855 plaintiff Sharp Joan     Joan, his wife 1
5609462 2537855 2537855 defendant Brok Alexander yeoman 611581 611581 Brok, Alexander, of Hakney, Middx, yeoman 0
5609463 2537855 2537855 defendant Penreth Thomas husbandman 590201 590201 Penreth, Thomas, of Berkyng, Essex, husbandman 1
5609464 2537855 2537855 defendant Penreth John husbandman 588671 588671 Penreth, John, of Berkyng, husbandman 2
5609465 2537855 2537855 defendant Sharp John   905600 905600 Sharp, John, of London, curriour 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 15.118ms