home / cp40x

names

6 rows where case_id = 2399862

✎ 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
5145624 2399862 2399862 plaintiff Brook Roger   824647 824647 Brook, Roger, of Bernham Broom 0
5145625 2399862 2399862 defendant Beteryng Richard yeoman 587836 587836 Beteryng, Richard, of Folsham, yeoman 0
5145626 2399862 2399862 defendant Fekard Edmund yeoman 852817 852817 Fekard, Edmund, of Flsham, yeoman 1
5145627 2399862 2399862 defendant Tuly John   781946 781946 Tuly, John, of Hessete, Suff, wheel wright 2
5145628 2399862 2399862 defendant Warde John, sen yeoman 852819 852819 Warde, John, sen, of Little Abyton, Cambs, yeoman 3
5145629 2399862 2399862 defendant Curthose John husbandman 852820 852820 Curthose, John, of Hildersham, Cambs, 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 24.205ms