home / cp40x

names

6 rows where case_id = 1923425

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3691260 1923425 1923425 plaintiff Harryson John     Harryson, John 0
3691261 1923425 1923425 defendant Lovet Richard husbandman 586305 586305 Lovet, Richard, of Fordham, husbandman 0
3691262 1923425 1923425 defendant Wynte Thomas husbandman 586305 586305 Wynte, Thomas, of Fordham, husbandman 1
3691263 1923425 1923425 defendant Bassell Thomas husbandman 612037 612037 Bassell, Thomas, of Denvert, husbandman 2
3691264 1923425 1923425 defendant Waller Nicholas husbandman 602392 602392 Waller, Nicholas, of Helgey, husbandman 3
3691265 1923425 1923425 defendant Akeris John butcher 586305 586305 Akeris, John, of Fordham, butcher 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 15.835ms