home / cp40x

names

10 rows where case_id = 2389770

✎ 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
5111527 2389770 2389770 plaintiff Hilleresden Andrew     Hilleresden, Andrew 0
5111528 2389770 2389770 defendant Wray William clerk 594624 594624 Wray, William, of Payhembury, clerk 0
5111529 2389770 2389770 defendant Deke William smith 594624 594624 Deke, William, of Payhembury, smith 1
5111530 2389770 2389770 defendant Olde John   594624 594624 Olde, John, of Payhembury, holy water clerk 2
5111531 2389770 2389770 defendant Cole William husbandman 594624 594624 Cole, William, of Payhembury, husbandman 3
5111532 2389770 2389770 defendant Salter William husbandman 661065 661065 Salter, William, of Fyneton, husbandman 4
5111533 2389770 2389770 defendant Salter Henry   661065 661065 Salter, Henry, of Fyneton, groom 5
5111534 2389770 2389770 defendant Salter John weaver 587224 587224 Salter, John, of Otery St Mary, weaver 6
5111535 2389770 2389770 defendant Scorche Philip husbandman 587224 587224 Scorche, Philip, of Otery St Mary, husbandman 7
5111536 2389770 2389770 defendant Robyn Robert tailor 587224 587224 Robyn, Robert, of Otery St Mary, tailor 8

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