home / cp40x

names

7 rows where case_id = 1970893

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3841401 1970893 1970893 plaintiff Benett William clerk   Benett, William, clerk, executors of 0
3841402 1970893 1970893 plaintiff Benett John merchant tailor 585869 585869 Benett, John, of London, merchant tailor 1
3841403 1970893 1970893 defendant Walker John clerk 638243 638243 Walker, John, of North Muskeham, Notts, clerk 0
3841404 1970893 1970893 defendant Thomson Nicholas ironmonger 588837 588837 Thomson, Nicholas, of Newarke, Notts, ironmonger 1
3841405 1970893 1970893 defendant Averey John husbandman 638244 638244 Averey, John, of South Colyngham, Notts, husbandman 2
3841406 1970893 1970893 defendant Verdone William husbandman 589279 589279 Verdone, William, of South Colyngham, husbandman 3
3841407 1970893 1970893 defendant Greyn or Greyner John husbandman 638245 638245 Greyn or Greyner, John, of Norwell, Notts, husbandman 4

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