home / cp40x

names

7 rows where case_id = 2250987

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4666455 2250987 2250987 plaintiff (not given)   abbot of Jervaux Abbey   Jervaux Abbey, abbot of 0
4666456 2250987 2250987 defendant Sharpe John chaplain 605658 605658 Sharpe, John, of Grynton, chaplain 0
4666457 2250987 2250987 defendant Mitton or Muton John plasterer 780134 780134 Mitton or Muton, John, of Romundby, plasterer 1
4666458 2250987 2250987 defendant Thomson John husbandman 593142 593142 Thomson, John, of Tunstall, husbandman 2
4666459 2250987 2250987 defendant Gomell William husbandman 780135 780135 Gomell, William, of Kyrkebyshure, husbandman 3
4666460 2250987 2250987 defendant Yoman Simon, junior husbandman 726056 726056 Yoman, Simon, junior, of Coverdale, husbandman 4
4666461 2250987 2250987 defendant Watson William husbandman 780136 780136 Watson, William, of Lynton in Craven, 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 12.48ms