Source code for scrapd.core.constant

"""Define the scrapd constants."""


[docs]class Fields(): """Define the resource constants.""" AGE = 'age' CASE = 'case' CRASH = 'crash' DATE = 'date' DECEASED = 'deceased' DOB = 'dob' ETHNICITY = 'ethnicity' FATALITIES = 'fatalities' FIRST_NAME = 'first' GENDER = 'gender' GENERATION = 'generation' LAST_NAME = 'last' LATITUDE = 'latitude' LINK = 'link' LOCATION = 'location' LONGITUDE = 'longitude' MIDDLE_NAME = 'middle' NOTES = 'notes' TIME = 'time'
DUMP_DIR = '.dump'