home / cp40x

names

7 rows where case_id = 1906309

✎ 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
3636819 1906309 1906309 plaintiff Russell William     Russell, William 0
3636820 1906309 1906309 defendant Grene Nicholas husbandman 588125 588125 Grene, Nicholas, of South Creke, husbandman 0
3636821 1906309 1906309 defendant Robyns Thomas carpenter 592168 592168 Robyns, Thomas, of Cressenhale, carpenter 1
3636822 1906309 1906309 defendant Cobbe John thatcher 599449 599449 Cobbe, John, of Est Barsham, thatcher 2
3636823 1906309 1906309 defendant Lexham Henry   590879 590879 Lexham, Henry, of Skulthorp, shepherd 3
3636824 1906309 1906309 defendant Gybson William baker 589042 589042 Gybson, William, of Heydon, baker 4
3636825 1906309 1906309 defendant Geyton William laborer 586471 586471 Geyton, William, of Aylesham, laborer 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 16.525ms