home / cp40x

names

6 rows where case_id = 2435094

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5265917 2435094 2435094 plaintiff Tomyowe Richard     Tomyowe, Richard 0
5265918 2435094 2435094 defendant Gay John mariner 794863 794863 Gay, John, of Bodennek, mariner 0
5265919 2435094 2435094 defendant Vyan John Robin mariner 866013 866013 Vyan, John Robin, of Marghasvyan juxta Marghasyowe, mariner 1
5265920 2435094 2435094 defendant Wylcok Thomas pewterer 599869 599869 Wylcok, Thomas, of Lostwythyell, pewterer 2
5265921 2435094 2435094 defendant Gelard John pewterer 589295 589295 Gelard, John, of Tregonyburgh, pewterer 3
5265922 2435094 2435094 defendant Jakraulyn Henry yeoman 864092 864092 Jakraulyn, Henry, of Tucoys, yeoman 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 5.828ms