home / cp40x

names

6 rows where case_id = 2522719

✎ 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
5559412 2522719 2522719 plaintiff Rote John mercer 585869 585869 Rote, John, of London, mercer 0
5559413 2522719 2522719 defendant Reynolde William weaver 625665 625665 Reynolde, William, of Tysehurst, Sussex, weaver 0
5559414 2522719 2522719 defendant Pattenden Henry clothier 778224 778224 Pattenden, Henry, of Pecham, Kent, clothier 1
5559415 2522719 2522719 defendant Lethersolle Thomas husbandman 900063 900063 Lethersolle, Thomas, of Norbras, Kent, husbandman 2
5559416 2522719 2522719 defendant Whyttoppe John fuller 613411 613411 Whyttoppe, John, of Goodhurst, Kent, fuller 3
5559417 2522719 2522719 defendant Hubberd John clothmaker 900064 900064 Hubberd, John, of Handen, Kent, clothmaker 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 18.036ms