home / cp40x

names

5 rows where case_id = 2128436

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4295383 2128436 2128436 plaintiff Garnons Lucas esq   Garnons, Lucas, esq 0
4295384 2128436 2128436 defendant Barkeley Richard   607626 607626 Barkeley, Richard, of Stoke Gifford, knight 0
4295385 2128436 2128436 defendant Dorney Christopher yeoman 607626 607626 Dorney, Christopher, of Stoke Gifford, yeoman 1
4295386 2128436 2128436 defendant Garnons Robert gent 694628 694628 Garnons, Robert, of Garnons, Herefs, gent 2
4295387 2128436 2128436 defendant Mercer William clerk 717176 717176 Mercer, William, of Aston Ingham, Herefs, clerk 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 12.737ms