home / cp40x

names

7 rows where case_id = 2015740

✎ 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
3974767 2015740 2015740 plaintiff Hill Richard     Hill, Richard 0
3974768 2015740 2015740 defendant A Rode Hugh yeoman 623295 623295 A Rode, Hugh, of Rode, yeoman 0
3974769 2015740 2015740 defendant Wever Walter husbandman 599902 599902 Wever, Walter, of Combe, husbandman 1
3974770 2015740 2015740 defendant Alyde John husbandman 599902 599902 Alyde, John, of Combe, husbandman 2
3974771 2015740 2015740 defendant Thomas Richard husbandman 599902 599902 Thomas, Richard, of Combe, husbandman 3
3974772 2015740 2015740 defendant Wodhowse Thomas husbandman 664920 664920 Wodhowse, Thomas, of Stauncebache, husbandman 4
3974773 2015740 2015740 defendant Fletcher Roger husbandman 599902 599902 Fletcher, Roger, of Combe, husbandman 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.874ms