home / cp40x

names

7 rows where case_id = 2366439

✎ 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
5032663 2366439 2366439 plaintiff Seffray Simon     Seffray, Simon 0
5032664 2366439 2366439 defendant Pyrtwell John thatcher 592863 592863 Pyrtwell, John, of Magna Snoryng, thatcher 0
5032665 2366439 2366439 defendant Gardener William butcher 587836 587836 Gardener, William, of Folsham, butcher 1
5032666 2366439 2366439 defendant Ryburgh John tailor 589042 589042 Ryburgh, John, of Heydon, tailor 2
5032667 2366439 2366439 defendant Underwode Thomas reeder 597969 597969 Underwode, Thomas, of Thurgarton, reeder 3
5032668 2366439 2366439 defendant Skynner Robert baker 591455 591455 Skynner, Robert, of Geysdele, baker 4
5032669 2366439 2366439 defendant Pye Richard husbandman 587935 587935 Pye, Richard, of Colby, husbandman 5

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 15.67ms