home / cp40x

names

9 rows where case_id = 1958651

✎ 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
3802403 1958651 1958651 plaintiff Pasley William     Pasley, William 0
3802404 1958651 1958651 defendant Stevynson Thomas yeoman 593123 593123 Stevynson, Thomas, of Hornecastell, yeoman 0
3802405 1958651 1958651 defendant Gybson Robert yeoman 593123 593123 Gybson, Robert, of Hornecastell, yeoman 1
3802406 1958651 1958651 defendant Nele Robert shoemaker 593123 593123 Nele, Robert, of Hornecastell, shoemaker 2
3802407 1958651 1958651 defendant Fox Edmund tailor 593123 593123 Fox, Edmund, of Hornecastell, tailor 3
3802408 1958651 1958651 defendant Newall Roger saddler 593123 593123 Newall, Roger, of Hornecastell, saddler 4
3802409 1958651 1958651 defendant Lovell Robert tailor 593123 593123 Lovell, Robert, of Hornecastell, tailor 5
3802410 1958651 1958651 defendant Forman Robert butcher 593123 593123 Forman, Robert, of Hornecastell, butcher 6
3802411 1958651 1958651 defendant Barker John smith 593123 593123 Barker, John, of Hornecastell, smith 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 16.835ms