home / cp40x

names

7 rows where case_id = 2334021

✎ 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
4924221 2334021 2334021 plaintiff Nevill Edward     Nevill, Edward 0
4924222 2334021 2334021 defendant Rewelowe John husbandman 822810 822810 Rewelowe, John, of Rewelowe or Rowley, husbandman 0
4924223 2334021 2334021 defendant Barker Roger husbandman 822811 822811 Barker, Roger, of Halon or Hallan, husbandman 1
4924224 2334021 2334021 defendant Bruggend Robert husbandman 594452 594452 Bruggend, Robert, of Hilton, husbandman 2
4924225 2334021 2334021 defendant Toward John husbandman 591972 591972 Toward, John, of Stapulford, husbandman 3
4924226 2334021 2334021 defendant Baret John husbandman 822812 822812 Baret, John, of Brandeley, husbandman 4
4924227 2334021 2334021 defendant Underhill William husbandman & son of Richard Underhill 778393 778393 Underhill, William, of Akelton, husbandman & son of Richard Underhill 5

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.244ms