Helper function to convert a timestamp from openretractions.com into a date.

get_date(x, database = "or")

Arguments

x

Numeric or Character. Numeric timestamp from openretractions.com or character from retractiondatabase.com

database

Character. Abbreviation of the database (either or for openretractions.com, or rw for retractiondatabase.com)

Value

a Date