facebook.formatFbDate: Convert a Facebook datetime string into a valid R datetime

Description Usage Arguments Author(s)

Description

facebook.formatFbDate converts the date-time string returned by Facebook in a valid POSIX format.

Usage

1
formatFbDate(datestring, format = "datetime")

Arguments

datestring

The date to convert in the character format used by Facebook.

format

Set to "datetime" to convert into a POSIX value or "date" to convert into a Date. Any other values will make the function returns NULL.

Author(s)

Pablo Barbera pablo.barbera@nyu.edu


theclue/facebook.S4 documentation built on May 31, 2019, 9:11 a.m.