home / cp40x

names

7 rows where case_id = 2441760

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5288901 2441760 2441760 plaintiff Lyng Robert     Lyng, Robert 0
5288902 2441760 2441760 defendant Grene Geoffrey carpenter 589532 589532 Grene, Geoffrey, of Fakenham, carpenter 0
5288903 2441760 2441760 defendant Pepyr William chapman 589532 589532 Pepyr, William, of Fakenham, chapman 1
5288904 2441760 2441760 defendant Southed Thomas   869058 869058 Southed, Thomas, of Baldeswell, husbandmn 2
5288905 2441760 2441760 defendant Deynes Thomas husbandman 616593 616593 Deynes, Thomas, of Magna Plumstede, husbandman 3
5288906 2441760 2441760 defendant Preeston Adam   585933 585933 Preeston, Adam, of Great Yarmouth, worsted weaver 4
5288907 2441760 2441760 defendant Hemmysby Henry tailor 603966 603966 Hemmysby, Henry, of Pokethorp, tailor 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 13.556ms