home / cp40x

names

6 rows where case_id = 2526579

✎ 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
5572750 2526579 2526579 plaintiff Neweton John     Neweton, John 0
5572751 2526579 2526579 defendant Metold Robert husbandman 901555 901555 Metold, Robert, of Laryngset, husbandman 0
5572752 2526579 2526579 defendant Clemens William husbandman 599088 599088 Clemens, William, of Thornage, husbandman 1
5572753 2526579 2526579 defendant Flawes Nicholas mariner 600162 600162 Flawes, Nicholas, of Sneterley, mariner 2
5572754 2526579 2526579 defendant Sterman William mariner 592185 592185 Sterman, William, of Sheryngham, mariner 3
5572755 2526579 2526579 defendant Stacy Joan widow 592861 592861 Stacy, Joan, of Hylderston, widow 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 11.856ms