home / cp40x

names

6 rows where case_id = 2409397

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5178417 2409397 2409397 plaintiff atte Wode John     atte Wode, John 0
5178418 2409397 2409397 defendant Bydelake John jun, of Brydestowe, husbandman   Bydelake, John, jun, of Brydestowe, husbandman 0
5178419 2409397 2409397 defendant Hamond John husbandman 587384 587384 Hamond, John, of Lyston, husbandman 1
5178420 2409397 2409397 defendant Morelegh John   587384 587384 Morelegh, John, of Lyston, mason 2
5178421 2409397 2409397 defendant Draper Otto laborer 587384 587384 Draper, Otto, of Lyston, laborer 3
5178422 2409397 2409397 defendant Skeynek William gent 587287 587287 Skeynek, William, of Launceston, gent 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 6.853ms