home / cp40x

names

6 rows where case_id = 2502513

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5491992 2502513 2502513 plaintiff Clerk Thomas     Clerk, Thomas 0
5491993 2502513 2502513 defendant Bysyn Richard fisher 586935 586935 Bysyn, Richard, of Royston, fisher 0
5491994 2502513 2502513 defendant Chese John maltman 592896 592896 Chese, John, of Magna Munden, maltman 1
5491995 2502513 2502513 defendant Kyng John butcher 588045 588045 Kyng, John, of Exton, butcher 2
5491996 2502513 2502513 defendant Mason John yeoman 603706 603706 Mason, John, of Stevenage, yeoman 3
5491997 2502513 2502513 defendant Broun Thomas draper 603706 603706 Broun, Thomas, of Stevenage, draper 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 14.921ms