home / cp40x

names

7 rows where place_id = 659671

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3953335 2008236 2008236 defendant Ewyn Owen gent 659671 659671 Ewyn, Owen, of Llanydlos, Montgomery, gent 0
3964252 2012103 2012103 defendant Gwynne John gent 659671 659671 Gwynne, John, of Llanydlos, Montgomery, gent 2
4005762 2026837 2026837 defendant Gwynne John or Jenkin gent 659671 659671 Gwynne, John or Jenkin, of Llanydlos, Montgomery, gent 0
4015098 2030090 2030090 defendant Sharles Thomas husbandman 659671 659671 Sharles, Thomas, of Llanydlos, Montgomery, husbandman 0
4083016 2054219 2054219 defendant ap Hoell David ap John yeoman 659671 659671 (ap Hoell, David ap John, of Llanydlos, Montgomery, yeoman 3
4194100 2093490 2093490 defendant Gwyn Morgan esq 659671 659671 Gwyn, Morgan, of Llanydlos, Montgomery, esq 0
4309585 2133511 2133511 defendant Gruffith Lewis yeoman 659671 659671 Gruffith, Lewis, of Llanydlos, Montgomery, 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 9.384ms