Learn R Programming

retractcheck (version 1.0.0)

get_date: Convert timestamp to Date

Description

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

Usage

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