home / cp40x

names

7 rows where case_id = 2261189

✎ 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
4685920 2261189 2261189 plaintiff Scot Robert esq   Scot, Robert, esq 0
4685921 2261189 2261189 plaintiff West John   586615 586615 West, John, of Croxton 1
4685922 2261189 2261189 defendant Barbour Thomas   599063 599063 Barbour, Thomas, of Huntingdon, bailiff 0
4685923 2261189 2261189 defendant Stapilho William husbandman 644780 644780 Stapilho, William, of Temesford, Beds, husbandman 1
4685924 2261189 2261189 defendant Gander Thomas yeoman 658574 658574 Gander, Thomas, of Brynkton, Hunts, yeoman 2
4685925 2261189 2261189 defendant Kydnote John yeoman 629128 629128 Kydnote, John, of Temesford, yeoman 3
4685926 2261189 2261189 defendant Cherwelton John yeoman 670452 670452 Cherwelton, John, of Offord Darcy, Hunts, yeoman 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 18.992ms