home / cp40x

names

6 rows where case_id = 2476985

✎ 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
5406708 2476985 2476985 plaintiff Talbor Nicholas esq   Talbor, Nicholas, esq 0
5406709 2476985 2476985 defendant Stevyns Robert   625193 625193 Stevyns, Robert, of Claydon 0
5406710 2476985 2476985 defendant Chaworth Robert   590252 590252 Chaworth, Robert, of Aynowe 1
5406711 2476985 2476985 defendant Pokdon Thomas miller 590252 590252 Pokdon, Thomas, of Aynowe, miller 2
5406712 2476985 2476985 defendant Grene John   590252 590252 Grene, John, of Aynowe 3
5406713 2476985 2476985 defendant Hanslap Roger husbandman 590252 590252 Hanslap, Roger, of Aynowe, husbandman 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 12.708ms