home / cp40x

names

7 rows where case_id = 2523845

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5563234 2523845 2523845 plaintiff Archedecon Richard     Archedecon, Richard 0
5563235 2523845 2523845 plaintiff Sible William     Sible, William 1
5563236 2523845 2523845 defendant Astewode Thomas husbandman 609657 609657 Astewode, Thomas, of Grauncestre, husbandman 0
5563237 2523845 2523845 defendant Lexston John yeoman 596900 596900 Lexston, John, of Godmanchester, yeoman 1
5563238 2523845 2523845 defendant Kyng John, junior fisher 649521 649521 Kyng, John, junior, of Haliwell, fisher 2
5563239 2523845 2523845 defendant Kyng Simon fisher 649521 649521 Kyng, Simon, of Haliwell, fisher 3
5563240 2523845 2523845 defendant Lincoln Thomas fisher 615579 615579 Lincoln, Thomas, of Hemmyngford Abbot, fisher 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 14.617ms