home / cp40x

names

6 rows where case_id = 2551320

✎ 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
5623606 2551320 2551320 plaintiff Kell Nicholas     Kell, Nicholas 0
5623607 2551320 2551320 defendant Spycer Thomas yeoman 586953 586953 Spycer, Thomas, of Sudbury, yeoman 0
5623608 2551320 2551320 defendant Millere Thomas summoner 586405 586405 Millere, Thomas, of Nedham Market, summoner 1
5623609 2551320 2551320 defendant Cooke William laborer 756834 756834 Cooke, William, of Whatefeld, laborer 2
5623610 2551320 2551320 defendant Folsham Robert ploughman 906881 906881 Folsham, Robert, of Hiklyng, Norf, ploughman 3
5623611 2551320 2551320 defendant Collys John chapman 585936 585936 Collys, John, of Norwich, chapman 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 12.963ms