home / cp40x

names

6 rows where case_id = 2449875

✎ 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
5316044 2449875 2449875 plaintiff Curson Robert esq   Curson, Robert, esq 0
5316045 2449875 2449875 plaintiff Naunton Robert esq   Naunton, Robert, esq 1
5316046 2449875 2449875 defendant Hervy Thomas esq 587413 587413 Hervy, Thomas, of Superior Rykynghale, esq 0
5316047 2449875 2449875 defendant Neuport John yeoman 586134 586134 Neuport, John, of Ipswich, yeoman 1
5316048 2449875 2449875 defendant Hervy John yeoman 642391 642391 Hervy, John, of Broom, yeoman 2
5316049 2449875 2449875 defendant Harlewyn John husbandman 763481 763481 Harlewyn, John, of Pethawe, husbandman 3

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