home / cp40x

names

8 rows where case_id = 2456291

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5337500 2456291 2456291 plaintiff Hunnyngham Richard     Hunnyngham, Richard 0
5337501 2456291 2456291 defendant Durbagge William   589594 589594 Durbagge, William, of Quadryng, salt weller 0
5337502 2456291 2456291 defendant Adam Stephen husbandman 589594 589594 Adam, Stephen, of Quadryng, husbandman 1
5337503 2456291 2456291 defendant Thakker Robert husbandman 610614 610614 Thakker, Robert, of Gosberkirk, husbandman 2
5337504 2456291 2456291 defendant Gibson Robert weaver 586750 586750 Gibson, Robert, of Surflete, weaver 3
5337505 2456291 2456291 defendant Broun William yeoman 588071 588071 Broun, William, of Multon, yeoman 4
5337506 2456291 2456291 defendant Cheyne Andrew tailor 589460 589460 Cheyne, Andrew, of Spaldyng, tailor 5
5337507 2456291 2456291 defendant Teryngton Thomas tinker 590974 590974 Teryngton, Thomas, of Gosberkyrk, tinker 6

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