home / cp40x

names

5 rows where case_id = 2361496

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5015762 2361496 2361496 plaintiff Brent Hugh     Brent, Hugh 0
5015763 2361496 2361496 defendant Bereworth John husbandman 586564 586564 Bereworth, John, of Godeherst, husbandman 0
5015764 2361496 2361496 defendant Golet Thomas husbandman 592211 592211 Golet, Thomas, of Wellyng, husbandman 1
5015765 2361496 2361496 defendant Bukston John yeoman 592211 592211 Bukston, John, of Wellyng, yeoman 2
5015766 2361496 2361496 defendant Rayner Thomas husbandman 587076 587076 Rayner, Thomas, of Plumsted, 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 18.267ms