home / cp40x

names

5 rows where place_id = 655185

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3935262 2002105 2002105 defendant Jennour ap lln John glover 655185 655185 Jennour ap lln, John, of Oswestrey, glover 0
4151254 2078560 2078560 defendant Burley Robert mercer 655185 655185 Burley, Robert, of Oswestrey, mercer 0
4174621 2086592 2086592 defendant ap Hoell Thomas yeoman 655185 655185 ap Hoell, Thomas, of Oswestrey, yeoman 0
4174622 2086592 2086592 defendant ap Hoell Griffin ap Thomas yeoman 655185 655185 ap Hoell, Griffin ap Thomas, of Oswestrey, yeoman 1
4296762 2128941 2128941 defendant Alkinton Roger mercer 655185 655185 Alkinton, Roger, of Oswestrey, mercer 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 10.439ms