home / cp40x

names

6 rows where case_id = 2306811

✎ 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
4834533 2306811 2306811 plaintiff Crofte Adam del     Crofte, Adam del 0
4834534 2306811 2306811 defendant Grenhill William de chapman 622375 622375 Grenhill, William de, of Preston, Lancs, chapman 0
4834535 2306811 2306811 defendant Grenell William gent 587004 587004 Grenell, William, of Preston, gent 1
4834536 2306811 2306811 defendant Grenehill William de yeoman 809925 809925 Grenehill, William de, of Grymsargh, Lancs, yeoman 2
4834537 2306811 2306811 defendant Hayhurst Richard chapman 587004 587004 Hayhurst, Richard, of Preston, chapman 3
4834538 2306811 2306811 defendant Lee Fleccher (illegible) yeoman 809926 809926 Lee Fleccher, _, of Hidepark, Lancs, 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 16.591ms