home / cp40x

names

6 rows where case_id = 2495816

✎ 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
5469550 2495816 2495816 plaintiff Drake John   593217 593217 Drake, John, of Wysebeche 0
5469551 2495816 2495816 defendant Pyke Robert yeoman 586517 586517 Pyke, Robert, of Hyngham, yeoman 0
5469552 2495816 2495816 defendant Skendilby Roger butcher 603616 603616 Skendilby, Roger, of Cley next the sea, butcher 1
5469553 2495816 2495816 defendant Reyneham William husbandman 586228 586228 Reyneham, William, of Watlyngton, husbandman 2
5469554 2495816 2495816 defendant Stele Richard husbandman 588580 588580 Stele, Richard, of West Walton, husbandman 3
5469555 2495816 2495816 defendant Inggram John glover 775895 775895 Inggram, John, of Wysbeche, Cambs, glover 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 6.268ms