home / cp40x

names

9 rows where case_id = 1990019

✎ 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
3899411 1990019 1990019 plaintiff Bere John gent   Bere, John, gent 0
3899412 1990019 1990019 defendant Brown Thomas husbandman 648020 648020 Brown, Thomas, of Hamett, St Clere, husbandman 0
3899413 1990019 1990019 defendant Faryrchyld Harry husbandman 606006 606006 Faryrchyld, Harry, of St Cleder, husbandman 1
3899414 1990019 1990019 defendant Escott William husbandman 648021 648021 Escott, William, of Morvenstowe, husbandman 2
3899415 1990019 1990019 defendant Benny John merchant 587817 587817 Benny, John, of Fowey, merchant 3
3899416 1990019 1990019 defendant Kooke John mariner 587817 587817 Kooke, John, of Fowey, mariner 4
3899417 1990019 1990019 defendant Carnavell Alexander yoman 593908 593908 Carnavell, Alexander, of Penrynburgh, yoman 5
3899418 1990019 1990019 defendant Martyn Peter yeoman 603621 603621 Martyn, Peter, of Helston, yeoman 6
3899419 1990019 1990019 defendant Sandy Richard husbandman 602854 602854 Sandy, Richard, of Lanrethowe, husbandman 7

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