The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
Подробная русскоязычная документация находится по ссылке.
Помимо основной документации пакет содержит 2 виньетки:
Для просмотра виньеток запустите в R одну из следующих команд:
vignette('rmytarget-auth', package = 'rmytarget')
vignette('rmytarget-intro', package = 'rmytarget')
Вы можете поддержать проект любой произвольной суммой перейдя по этой ссылке.
На данный момент в пакете rmytarget доступно 5 функций:
# work with simple client account
# authorize by ad account
myTarAuth(login = "client_login")
# get campaing list
<- myTarGetCampaignList(login = "client_login")
campaing
# get ads list
<- myTarGetAdList(login = "client_login")
ads
# load statistic
# load base stat by ads
<- myTarGetStats(date_from = Sys.Date() - 7,
old_data date_to = Sys.Date(),
object_type = "banners",
object_id = campaing$id,
login = "client_login")
# load base, tps, and viral metrics by campaings
<- myTarGetStats(date_from = Sys.Date() - 7,
custom_data date_to = Sys.Date(),
object_type = "campaigns",
metrics = c("base", "tps", "viral"),
stat_type = "day",
login = "client_login")
# load all metrics by campaigns
<- myTarGetStats(date_from = Sys.Date() - 7,
all_data date_to = Sys.Date(),
object_type = "campaigns",
metrics = "all",
login = "client_login")
# ========================
# work with agency account
# authorize by agency account
myTarAuth(login = "agency_login")
# load client list from agency account
<- myTarGetClientList(login = "agency_login")
clients
# load statistic by agency clients
<- myTarGetStats(date_from = Sys.Date() - 7,
client_stat date_to = Sys.Date(),
object_id = clients$id,
object_type = "users",
metrics = "all",
login = "agency_login")
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.