home / cp40x

names

8 rows where case_id = 2555201

✎ 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
5635960 2555201 2555201 plaintiff Wille John     Wille, John 0
5635961 2555201 2555201 defendant Calard John smith 604942 604942 Calard, John, of Tavistoke, smith 0
5635962 2555201 2555201 defendant Hoghe Nicholas laborer 908157 908157 Hoghe, Nicholas, of Soureapeldore, laborer 1
5635963 2555201 2555201 defendant Perde John   908158 908158 Perde, John, of Holecombe Purremore, bailiff 2
5635964 2555201 2555201 defendant Athelard Roger   593082 593082 Athelard, Roger, of Wynkelegh, friary clerk 3
5635965 2555201 2555201 defendant Trussell Robert yeoman 590449 590449 Trussell, Robert, of Halberton, yeoman 4
5635966 2555201 2555201 defendant Twychene John laborer 836097 836097 Twychene, John, of Womberlegh, laborer 5
5635967 2555201 2555201 defendant Batecok Henry tailor 593082 593082 Batecok, Henry, of Wynkelegh, tailor 6

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.562ms