format.facebook.date: Converts from Facebook date format to R date format

Description Usage Arguments Author(s) Examples

Description

Converts from Facebook date format to R date format

Usage

1
formatFbDate(datestring, format = "datetime")

Arguments

datestring

Date string in Facebook format

output

Either "date", for Date format; or "datetime" for POSIX.

Author(s)

Pablo Barbera pablo.barbera@nyu.edu

Examples

1
2
3
4
5
6
## Not run: 
## example of Facebook data
  example <- "2014-02-21T16:22:03+0000"
  dt <- format.facebook.date(example)

## End(Not run)

SMAPPNYU/smappR documentation built on May 9, 2019, 11:19 a.m.