home / cp40x

names

9 rows where case_id = 2106498

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4231440 2106498 2106498 plaintiff Wythes Edward husbandman   Wythes, Edward, husbandman 0
4231441 2106498 2106498 defendant Watson William yeoman 588397 588397 Watson, William, of Thorpe, yeoman 0
4231442 2106498 2106498 defendant Watson John husbandman 588397 588397 Watson, John, of Thorpe, husbandman 1
4231443 2106498 2106498 defendant Johnson William husbandman 588397 588397 Johnson, William, of Thorpe, husbandman 2
4231444 2106498 2106498 defendant Burnett Richard husbandman 588397 588397 Burnett, Richard, of Thorpe, husbandman 3
4231445 2106498 2106498 defendant Newton George husbandman 588397 588397 together with Newton, George, of Thorpe, husbandman 4
4231446 2106498 2106498 defendant Watson Ralph husbandman 588397 588397 Watson, Ralph, of Thorpe, husbandman 5
4231447 2106498 2106498 defendant Sharrowe William husbandman 588397 588397 Sharrowe, William, of Thorpe, husbandman 6
4231448 2106498 2106498 defendant Allanson Wilfred husbandman 588397 588397 Allanson, Wilfred, of Thorpe, husbandman 7

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 10.294ms