home / cp40x

names

7 rows where case_id = 2295831

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4798898 2295831 2295831 plaintiff Tasburgh John     Tasburgh, John 0
4798899 2295831 2295831 defendant Ralph   parson of West Reyngham   Ralph, parson of West Reyngham 0
4798900 2295831 2295831 defendant Scarlet Richard   803749 803749 Scarlet, Richard, of Milham, peddere 1
4798901 2295831 2295831 defendant Massanger Simon yeoman 595209 595209 Massanger, Simon, of Bernham, yeoman 2
4798902 2295831 2295831 defendant Cobald Nicholas yeoman 587836 587836 Cobald, Nicholas, of Folsham, yeoman 3
4798903 2295831 2295831 defendant Prat Ralph yeoman 587172 587172 Prat, Ralph, of Est Derham, yeoman 4
4798904 2295831 2295831 defendant Busshop Thomas clerk 592341 592341 Busshop, Thomas, of Bergh, clerk 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 12.497ms