home / cp40x

names

6 rows where case_id = 2445225

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5300880 2445225 2445225 plaintiff Conyer John     Conyer, John 0
5300881 2445225 2445225 defendant Batell John husbandman 587920 587920 Batell, John, of Maldon, husbandman 0
5300882 2445225 2445225 defendant Lytyll John husbandman 870440 870440 Lytyll, John, of Mochyl Donmowe, husbandman 1
5300883 2445225 2445225 defendant Wylde John laborer 728481 728481 Wylde, John, of Upminster, laborer 2
5300884 2445225 2445225 defendant Salmon John laborer 595278 595278 Salmon, John, of Horndon, laborer 3
5300885 2445225 2445225 defendant Wattys John laborer 870441 870441 Wattys, John, of Sytfforde, laborer 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 13.0ms