home / cp40x

names

6 rows where case_id = 2356251

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4997962 2356251 2356251 plaintiff Hudson Roger     Hudson, Roger 0
4997963 2356251 2356251 defendant Bridde Thomas fishmonger 832745 832745 Bridde, Thomas, of Stokhithe, fishmonger 0
4997964 2356251 2356251 defendant Eton Richard husbandman 614511 614511 Eton, Richard, of Carleton in Lyndryk, husbandman 1
4997965 2356251 2356251 defendant Chapman William yeoman 794706 794706 Chapman, William, of Sutton by Lounde, yeoman 2
4997966 2356251 2356251 defendant Tyas William butcher 605602 605602 Tyas, William, of Blyth, butcher 3
4997967 2356251 2356251 defendant Glasyer William glasier 605602 605602 Glasyer, William, of Blyth, glasier 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 22.435ms