Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 

README.md

RSmartlyIO

RSmartlyIO Cran Release RSmartlyIO Cran Downloads

RSmartlyIO is a license cost free open source project by @jburkhardt.

Loading Facebook and Instagram Advertising Data from Smartly.io into R

R Package which aims at loading Facebook and Instagram advertising data from Smartly.io into R.
Smartly.io is an online advertising service that enables advertisers to display commercial ads on social media networks.
The package offers an interface to query the Smartly.io API and loads data directly into R for further data processing and data analysis.

Installation

The package can be installed from CRAN

install.packages("RSmartlyIO")

or directly from this Github repository with:

require(devtools)
install_github('rstats-lab/RSmartlyIO')

Usage

data <- getSmartlyData(start = "2019-01-01",
                       end = "2019-01-10",
                       date = "date",
                       accountID="*****************",
                       accountInfo = F,
                       campaignStructure = c("campaign_name", "campaign_fb_id"),
                       billing = c("bid.optimization_goal", "bid.billing_event"),
                       targeting = c("targeting.geo_locations.countries"),
                       creative = c("creative_meta.call_to_action"),
                       #facebook = "age",
                       apiToken="************************************",
                       attribtuion = "28d",
                       metrics = c("impressions","clicks"))

Documentation

The official package documentation can be found here: http://rstats-lab.github.io/RSmartlyIO/

About

Loading Facebook and Instagram Advertising Data from Smartly.io into R

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.