home / cp40x

names

7 rows where case_id = 2454146

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5330322 2454146 2454146 plaintiff Benet John (legal representative)   Benet, John, executrix of 0
5330323 2454146 2454146 plaintiff Bruer Agnes     Bruer, Agnes 1
5330324 2454146 2454146 defendant Skynner Richard mercer 874129 874129 Skynner, Richard, of Ayssheperton, Devon, mercer 0
5330325 2454146 2454146 defendant Josupp Peter tailor 586834 586834 Josupp, Peter, of Plymmouth, tailor 1
5330326 2454146 2454146 defendant Cornyssh John baker 588915 588915 Cornyssh, John, of Plympton Earl, baker 2
5330327 2454146 2454146 defendant Bryant William shoemaker 588915 588915 Bryant, William, of Plympton Earl, shoemaker 3
5330328 2454146 2454146 defendant Paulmer John yeoman 588915 588915 Paulmer, John, of Plympton Earl, yeoman 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 8.748ms