home / cp40x

names

6 rows where case_id = 2445519

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5301888 2445519 2445519 plaintiff Drake Richard (legal representative) 625399 625399 Drake, Richard, of Worthyng, executor of 0
5301889 2445519 2445519 plaintiff Drake Thomas     Drake, Thomas 1
5301890 2445519 2445519 defendant Chaumberleyn Thomas husbandman   Chaumberleyn, Thomas, husbandman 0
5301891 2445519 2445519 defendant Tytyn Robert husbandman 588926 588926 Tytyn, Robert, of North Elmham, husbandman 1
5301892 2445519 2445519 defendant Balcout John husbandman 588926 588926 Balcout, John, of North Elmham, husbandman 2
5301893 2445519 2445519 defendant Randesson William laborer 587782 587782 Randesson, William, of Hokeryng, laborer 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 16.496ms