Skip to content
Tools for analyzing sales report files of iTunes Connect.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
man
.Rbuildignore
.gitignore
DESCRIPTION
LICENSE
NAMESPACE
README.md

README.md

RTConnect

RTConnect is a tool for analyzing sales report files of iTunes Connect with R.

Install

CRAN

install.packages("RTConnect")

How to use

Download report files

  1. Download sales report files from iTunes Connect.
  • Download daily sales report files. (Ex. S_D_NNNNNNNN_YYYYMMDD.txt)
  1. Put them in a directory.
  • Ex. ~/data/daily/S_D_NNNNNNNN_*.txt
  1. Analyze report files with RTConnect.

Analyze with RTConnect

Load RTConnect

library(RTConnect)

Open sales report files

rtc <- rtconnect("~/data/daily/")

Plot number of installed units

barplot(subset(rtc, product.type.identifier=kProductTypeIdentifier$iPhoneInstall), type="daily")

Plot, plot, plot...

barplot(subset(rtc, product.type.identifier=kProductTypeIdentifier$iPhoneInstall, date.gte=Sys.Date()-31), type="daily.version")
barplot(subset(rtc, product.type.identifier=kProductTypeIdentifier$iPhoneInstall), type="weekly")
barplot(subset(rtc, product.type.identifier=kProductTypeIdentifier$iPhoneUpdate), type="weekly.version")
barplot(subset(rtc, product.type.identifier=kProductTypeIdentifier$Install), type="country")
barplot(subset(rtc, product.type.identifier=kProductTypeIdentifier$Update), type="version")

plot(subset(rtc, product.type.identifier=kProductTypeIdentifier$iPhoneInstall), type="daily")
plot(subset(rtc, product.type.identifier=kProductTypeIdentifier$iPhoneInstall), type="weekly")

License

RTConnect is licensed under the terms of GNU General Public License Version 3. See LICENSE file.

Link

You can’t perform that action at this time.