home / cp40x

names

5 rows where case_id = 2514323

✎ 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
5531339 2514323 2514323 plaintiff Skynner William     Skynner, William 0
5531340 2514323 2514323 defendant Halle John mercer 586819 586819 Halle, John, of Worsted, mercer 0
5531341 2514323 2514323 defendant Mannyng William husbandman 613875 613875 Mannyng, William, of Staleham, husbandman 1
5531342 2514323 2514323 defendant Auncell Richard pedder 595280 595280 Auncell, Richard, of Ocle, pedder 2
5531343 2514323 2514323 defendant Wellys John yeoman 896972 896972 Wellys, John, of Rounton juxta Mare, yeoman 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 17.433ms