home / cp40x

names

8 rows where case_id = 1947218

✎ 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
3766600 1947218 1947218 plaintiff Mathewe Robert clerk   Mathewe, Robert, clerk 0
3766601 1947218 1947218 defendant Aryll Thomas husbandman 625828 625828 Aryll, Thomas, of Glamforth, husbandman 0
3766602 1947218 1947218 defendant Hill John husbandman 625828 625828 Hill, John, of Glamforth, husbandman 1
3766603 1947218 1947218 defendant Nudde Robert, senior husbandman 625829 625829 Nudde, Robert, senior, of Scrowby, husbandman 2
3766604 1947218 1947218 defendant Goldyn Edmund husbandman 625828 625828 Goldyn, Edmund, of Glamforth, husbandman 3
3766605 1947218 1947218 defendant Beckyngton Robert laborer 625829 625829 Beckyngton, Robert, of Scrowby, laborer 4
3766606 1947218 1947218 defendant Brewer Thomas carpenter 595315 595315 Brewer, Thomas, of Ormesby, carpenter 5
3766607 1947218 1947218 defendant Gardyner Robert husbandman 625829 625829 Gardyner, Robert, of Scrowby, husbandman 6

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.081ms