home / cp40x

names

5 rows where place_id = 728061

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4275040 2121223 2121223 defendant Scotte Thomas yeoman 728061 728061 Scotte, Thomas, of Botisdale, Suff, yeoman 0
5104794 2387839 2387839 defendant Tufold or Tusold Thomas gent 728061 728061 Tufold or Tusold, Thomas, of Botisdale, Suff, gent 1
5116095 2391134 2391134 defendant Buk Alexander yeoman 728061 728061 Buk, Alexander, of Botisdale, Suff, yeoman 3
5388419 2471736 2471736 defendant Crane Richard butcher 728061 728061 Crane, Richard, of Botisdale, Suff, butcher 4
5414034 2479133 2479133 defendant Gr_ Richard butcher 728061 728061 Gr_, Richard, of Botisdale, Suff, butcher 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.477ms