home / cp40x

names

6 rows where case_id = 2502489

✎ 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
5491905 2502489 2502489 plaintiff Clayton Thomas   634186 634186 Clayton, Thomas, of Emeley 0
5491906 2502489 2502489 defendant Copley William laborer 892945 892945 Copley, William, of Thurstonland, Kirk Burton, laborer 0
5491907 2502489 2502489 defendant Scamonden William yeoman 892946 892946 Scamonden, William, of Funey, Almondesbury, yeoman 1
5491908 2502489 2502489 defendant Goldore edward nailer 593698 593698 Goldore, edward, of Flokton, nailer 2
5491909 2502489 2502489 defendant Kay William yeoman 620691 620691 Kay, William, of Farneley Tyas, yeoman 3
5491910 2502489 2502489 defendant Stokkes Adam husbandman 892945 892945 Stokkes, Adam, of Thurstonland, Kirk Burton, 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 15.315ms