home / cp40x

names

8 rows where case_id = 2340414

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4944961 2340414 2340414 plaintiff Heton Richard     Heton, Richard 0
4944962 2340414 2340414 plaintiff Bolton John     Bolton, John 1
4944963 2340414 2340414 plaintiff Carter Robert, senior     Carter, Robert, senior 2
4944964 2340414 2340414 defendant Curteys John yeoman 805955 805955 Curteys, John, of Melton Mowebrey, yeoman 0
4944965 2340414 2340414 defendant Laseby John clerk 805955 805955 Laseby, John, of Melton Mowebrey, clerk 1
4944966 2340414 2340414 defendant Tales William butcher 805955 805955 Tales, William, of Melton Mowebrey, butcher 2
4944967 2340414 2340414 defendant Cosyngton Robert husbandman 805955 805955 Cosyngton, Robert, of Melton Mowebrey, husbandman 3
4944968 2340414 2340414 defendant Suttebyry John   805955 805955 Suttebyry, John, of Melton Mowebrey, "cosure" 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 5.298ms