home / cp40x

names

6 rows where case_id = 2261047

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4685450 2261047 2261047 plaintiff Ruston John   589274 589274 Ruston, John, of Cotyngham 0
4685451 2261047 2261047 defendant Gerge William husbandman 784102 784102 Gerge, William, of Poklynton, husbandman 0
4685452 2261047 2261047 defendant Cofyn or Cosyn Robert husbandman 770499 770499 Cofyn or Cosyn, Robert, of Brun, husbandman 1
4685453 2261047 2261047 defendant Mershe Alice   784103 784103 Mershe, Alice, of Burton, housewife 2
4685454 2261047 2261047 defendant Best Robert husbandman 588346 588346 Best, Robert, of Hesyll, husbandman 3
4685455 2261047 2261047 defendant Robertson John husbandman 590725 590725 Robertson, John, of Ellerker, 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 15.2ms