home / cp40x

names

6 rows where case_id = 2421603

✎ 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
5220175 2421603 2421603 plaintiff Huby Thomas     Huby, Thomas 0
5220176 2421603 2421603 defendant Godebarn John husbandman 844717 844717 Godebarn, John, of Staynforthbrig, husbandman 0
5220177 2421603 2421603 defendant Bevyrley Thomas husbandman 758517 758517 Bevyrley, Thomas, of Rillyngton,husbandman 1
5220178 2421603 2421603 defendant Jenkynson Walter husbandman 616660 616660 Jenkynson, Walter, of Willerby, husbandman 2
5220179 2421603 2421603 defendant Foston Robert shoemaker 589401 589401 Foston, Robert, of Scardeburgh, shoemaker 3
5220180 2421603 2421603 defendant Bell Alexander shipman 589401 589401 Bell, Alexander, of Scardeburgh, shipman 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 16.657ms