home / cp40x

names

5 rows where case_id = 2501367

✎ 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
5488194 2501367 2501367 plaintiff Walsshe John     Walsshe, John 0
5488195 2501367 2501367 defendant Pokyll William husbandman 589220 589220 Pokyll, William, of Chalk, husbandman 0
5488196 2501367 2501367 defendant Tybold Stephen husbandman 589220 589220 Tybold, Stephen, of Chalk, husbandman 1
5488197 2501367 2501367 defendant Wodcok John laborer 588611 588611 Wodcok, John, of Strode, laborer 2
5488198 2501367 2501367 defendant Gogfrey John mercer 588611 588611 Gogfrey, John, of Strode, mercer 3

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 17.66ms