home / cp40x

names

5 rows where case_id = 2286503

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4769721 2286503 2286503 plaintiff Pikeryng John     Pikeryng, John 0
4769722 2286503 2286503 plaintiff Blanke John     Blanke, John 1
4769723 2286503 2286503 defendant Blunt Thomas husbandman 799820 799820 Blunt, Thomas, of Reading, Berkshire, husbandman 0
4769724 2286503 2286503 defendant Robynson Richard husbandman 797424 797424 Robynson, Richard, of Newcastle upon Tyne, Northumberland, husbandman 1
4769725 2286503 2286503 defendant Potto John husbandman 799821 799821 Potto, John, of Skyngesby, Yorks, husbandman 2

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.786ms