home / cp40x

names

7 rows where case_id = 2015520

✎ 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
3974120 2015520 2015520 plaintiff Harris alias Sutton Margaret     Harris alias Sutton, Margaret 0
3974121 2015520 2015520 defendant Jordan John tanner 654197 654197 Jordan, John, of Haverford West, tanner 0
3974122 2015520 2015520 defendant Carne William glover 654197 654197 Carne, William, of Haverford West, glover 1
3974123 2015520 2015520 defendant Gybbon Richard tanner 654197 654197 Gybbon, Richard, of Haverford West, tanner 2
3974124 2015520 2015520 defendant Mylward John husbandman 664749 664749 Mylward, John, of Caures, Pembroke, husbandman 3
3974125 2015520 2015520 defendant Uttell David husbandman 664750 664750 Uttell, David, of Caures, husbandman 4
3974126 2015520 2015520 defendant Cooke David   654197 654197 Cooke, David, of Haverford West, mason 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 14.116ms