Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/banboo-data/rsmartlyio
Loading Facebook and Instagram Advertising Data from Smartly.io into R
https://github.com/banboo-data/rsmartlyio
Last synced: 6 days ago
JSON representation
Loading Facebook and Instagram Advertising Data from Smartly.io into R
- Host: GitHub
- URL: https://github.com/banboo-data/rsmartlyio
- Owner: banboo-data
- License: other
- Created: 2016-05-25T09:14:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-21T10:16:32.000Z (about 6 years ago)
- Last Synced: 2024-12-29T01:02:57.062Z (about 1 month ago)
- Language: R
- Homepage: http://rstats-lab.github.io/RSmartlyIO/
- Size: 381 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
RSmartlyIO
========================================================[![RSmartlyIO Cran Release](https://www.r-pkg.org/badges/version-last-release/RSmartlyIO)](https://cran.rstudio.com/web/packages/RSmartlyIO/index.html) [![RSmartlyIO Cran Downloads](https://cranlogs.r-pkg.org/badges/grand-total/RSmartlyIO)](https://cran.rstudio.com/web/packages/RSmartlyIO/index.html)
RSmartlyIO is a license cost free open source project by [@jburkhardt](https://github.com/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](https://app.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
```R
install.packages("RSmartlyIO")
```or directly from this Github repository with:
```R
require(devtools)
install_github('rstats-lab/RSmartlyIO')
```### Usage
```R
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/