home / cp40x

names

5 rows where case_id = 2489388

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5448302 2489388 2489388 plaintiff Lewys William fishmonger 585925 585925 Lewys, William, of Bristol, fishmonger 0
5448303 2489388 2489388 defendant Makwell Richard tailor 585925 585925 Makwell, Richard, of Bristol, tailor 0
5448304 2489388 2489388 defendant Coke Philip husbandman 768154 768154 Coke, Philip, of Shirborne, Dors, husbandman 1
5448305 2489388 2489388 defendant Coper Thomas cooper 598685 598685 Coper, Thomas, of Braynford, Middx, cooper 2
5448306 2489388 2489388 defendant Wynniore Ralph husbandman 627254 627254 Wynniore, Ralph, of Quene Camell, Soms, husbandman 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 11.307ms