home / cp40x

names

6 rows where case_id = 2314363

✎ 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
4859564 2314363 2314363 plaintiff Cartmell Thomas     Cartmell, Thomas 0
4859565 2314363 2314363 defendant Tomlynson William yeoman 813888 813888 Tomlynson, William, of Kyrkeby Steven, Westmor, yeoman 0
4859566 2314363 2314363 defendant Gibson William yeoman 813889 813889 Gibson, William, of Kyrkeby Steven, yeoman 1
4859567 2314363 2314363 defendant de Garthorn Henry chaplain 762493 762493 de Garthorn, Henry, of Garthorn, chaplain 2
4859568 2314363 2314363 defendant de Garthorn William yeoman 813890 813890 de Garthorn, William, of Garthorn, Westmor, yeoman 3
4859569 2314363 2314363 defendant de Garthorn Thomas yeoman 813891 813891 de Garthorn, Thomas, of Appilby, Westmor, 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 18.53ms