home / cp40x

names

7 rows where case_id = 2319984

✎ 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
4877689 2319984 2319984 plaintiff Stoure Adam     Stoure, Adam 0
4877690 2319984 2319984 defendant Paycok Thomas butcher 586656 586656 Paycok, Thomas, of Coggeshale, butcher 0
4877691 2319984 2319984 defendant Horell John husbandman 592335 592335 Horell, John, of Magna Sampford, husbandman 1
4877692 2319984 2319984 defendant Cook John husbandman 597970 597970 Cook, John, of Feryng, husbandman 2
4877693 2319984 2319984 defendant Tyler John husbandman 610052 610052 Tyler, John, of Cressyng, husbandman 3
4877694 2319984 2319984 defendant Cok Geoffrey husbandman 587801 587801 Cok, Geoffrey, of St Osith, husbandman 4
4877695 2319984 2319984 defendant Stalker John husbandman 587801 587801 Stalker, John, of St Osith, 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 12.134ms