home / cp40x

names

6 rows where case_id = 2511293

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5520681 2511293 2511293 plaintiff Buteler John esq   Buteler, John, esq 0
5520682 2511293 2511293 defendant Sergeaunt John husbandman 895929 895929 Sergeaunt, John, of Ligh, Wilts, husbandman 0
5520683 2511293 2511293 defendant Toller John husbandman 645614 645614 Toller, John, of Alderton, Wilts, husbandman 1
5520684 2511293 2511293 defendant Vyncent Robert husbandman 895930 895930 Vyncent, Robert, of Lutelton Dreux, Wilts, husbandman 2
5520685 2511293 2511293 defendant Knyght John husbandman 585946 585946 Knyght, John, of Lygh, husbandman 3
5520686 2511293 2511293 defendant Whitepyt William husbandman 895931 895931 Whitepyt, William, of Foxcote, Gretilton, Wilts, 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 14.549ms