home / cp40x

names

7 rows where case_id = 2507148

✎ 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
5507166 2507148 2507148 plaintiff Cooke Thomas     Cooke, Thomas 0
5507167 2507148 2507148 defendant Jenyn Edward chapman 586207 586207 Jenyn, Edward, of Basyngstoke, chapman 0
5507168 2507148 2507148 defendant Draddok Ralph   760118 760118 Draddok, Ralph, of Wynchestre, wax chandler 1
5507169 2507148 2507148 defendant Cokkys Stephen husbandman 589604 589604 Cokkys, Stephen, of Broughton, husbandman 2
5507170 2507148 2507148 defendant Rank Stephen smith 891732 891732 Rank, Stephen, of Brandysbury, smith 3
5507171 2507148 2507148 defendant Simkyn William smith 662069 662069 Simkyn, William, of Horewell, smith 4
5507172 2507148 2507148 defendant Worley Thomas innholder 586207 586207 Worley, Thomas, of Basyngstoke, innholder 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 13.938ms