saveToCsv: Saves data to csv

Description Usage Arguments Value Examples

View source: R/saveToCsv.R

Description

saveToCsv saves data of fanpage fans from Facebook Graph API

Usage

1
saveToCsv(data, name, directory)

Arguments

data

data to save

name

name of the file

directory

directory to save the file

Value

csv file

Examples

1
2
3
4
data = getData(450100695180891,224371541,
'EAADd6gCguI8BABCa5jew3mZBSV4qjEZAdrYHeDDf8zfwCZAXZCgLr9zXtrU6FsEGdfh44gZB1CMMxo7k7ZAXtal615Pb2r9H6CLfqxhK2JrvVWF3LDykayAToJ34eYlvQyYXbXygTDVrC8c5OoYlXWp4ZAT389vgk0ZD',
'2017-05-01', '2017-05-20')
saveToCsv(data, name = 'fanpage2', directory = 'files')

karolgileta/FanpageData documentation built on June 24, 2017, 8:41 a.m.