home / cp40x

names

9 rows where case_id = 2259485

✎ 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
4680399 2259485 2259485 plaintiff Leye John     Leye, John 0
4680400 2259485 2259485 defendant Trelewyth John husbandman 596909 596909 Trelewyth, John, of Tregony, husbandman 0
4680401 2259485 2259485 defendant Spark John yeoman 596909 596909 Spark, John, of Tregony, yeoman 1
4680402 2259485 2259485 defendant Penwerne Thomas yeoman 596909 596909 Penwerne, Thomas, of Tregony, yeoman 2
4680403 2259485 2259485 defendant Toker Thomas toker or fuller of cloth 596909 596909 Toker, Thomas, of Tregony, toker or fuller of cloth 3
4680404 2259485 2259485 defendant Wylcok John laborer 596909 596909 Wylcok, John, of Tregony, laborer 4
4680405 2259485 2259485 defendant Dyver John laborer 596909 596909 Dyver, John, of Tregony, laborer 5
4680406 2259485 2259485 defendant Symon John yeoman 596909 596909 Symon, John, of Tregony, yeoman 6
4680407 2259485 2259485 defendant Hardy John yeoman 596909 596909 Hardy, John, of Tregony, yeoman 7

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 17.197ms