home / cp40x

names

7 rows where case_id = 1866382

✎ 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
3596016 1866382 1866382 plaintiff Norton John     Norton, John 0
3596017 1866382 1866382 plaintiff Norton Thomas     Norton, Thomas 1
3596018 1866382 1866382 defendant Stamford John butcher 588926 588926 Stamford, John, of North Elmham, butcher 0
3596019 1866382 1866382 defendant Tytyng Robert husbandman 588926 588926 Tytyng, Robert, of North Elmham, husbandman 1
3596020 1866382 1866382 defendant Warner Thomas husbandman 588926 588926 Warner, Thomas, of North Elmham, husbandman 2
3596021 1866382 1866382 defendant Wellys Roger yeoman 588927 588927 Wellys, Roger, of Hunworth, yeoman 3
3596022 1866382 1866382 defendant Helley Walter husbandman 588926 588926 Helley, Walter, of North Elmham, 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.544ms