#' itunes_readr
#'
#' A way to read in and tidy up data exported from iTunes Connect
#' @param file The file you want to read
#' @param rows How many rows you want to skip
#' @export
itunes_readr <- function(file,rows=3) {
require(tidyverse)
require(lubridate)
df <- read_csv(file,skip=rows) %>%
select(-Measure) %>%
gather() %>%
rename(date = 1,
downloads = 2) %>%
mutate(date = mdy(date))
return(df)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.