home / cp40x

names

7 rows where place_id = 601020

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3643557 1908416 1908416 defendant Carter John husbandman 601020 601020 Carter, John, of Gorlston, husbandman 0
4035621 2037414 2037414 defendant Hemsby Richard yeoman 601020 601020 Hemsby, Richard, of Gorlston, yeoman 1
4035624 2037415 2037415 defendant Hemsley Richard yeoman 601020 601020 Hemsley, Richard, of Gorlston, yeoman 1
4107620 2063007 2063007 defendant Grene William beer brewer 601020 601020 Grene, William, of Gorlston, or of Walberswyck, beer brewer 0
4122815 2068451 2068451 defendant Braunche John laborer 601020 601020 Braunche, John, of Gorlston, laborer 0
4122816 2068451 2068451 defendant Foxe Richard laborer 601020 601020 Foxe, Richard, of Gorlston, laborer 1
4187136 2090993 2090993 defendant Calffe John   601020 601020 Calffe, John, of Gorlston yeoman 1

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 6.66ms