home / cp40x

names

6 rows where case_id = 2417740

✎ 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
5206848 2417740 2417740 plaintiff Lokton Thomas esq   Lokton, Thomas, esq 0
5206849 2417740 2417740 defendant Clement William husbandman 625356 625356 Clement, William, of Eynysbury, husbandman 0
5206850 2417740 2417740 defendant Clopton Richard husbandman 625356 625356 Clopton, Richard, of Eynysbury, husbandman 1
5206851 2417740 2417740 defendant He_ John husbandman 625356 625356 He_, John, of Eynysbury, husbandman 2
5206852 2417740 2417740 defendant Barker Geoffrey husbandman 625356 625356 Barker, Geoffrey, of Eynysbury, husbandman 3
5206853 2417740 2417740 defendant Robenet John husbandman 859375 859375 Robenet, John, of Dokysworth, Hunts, 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 15.895ms