R for your data needs, try it now !

R for your data needs, try it now !

R can be your saving boat, the ship in the sea and the solid road towards data extraction and manipulation as and when required.

Easy method described below to fetch data from SiteCat using [Rsitecat package].

Prerequisites: R installed with R studio on your desktop, it is an open source tool !


Setting up your code environment:

0. You need to install Rsitecat package

1. Login to your SiteCat account

2. Access your web-service access id, a user will need to know the username and shared key accessible from the admin tab.

3. Include RSiteCat library in your code

code: if(!require(RSiteCatalyst)) install.packages("RSiteCatalyst") library(RSiteCatalyst)

4. To access data from Report Suite in Adobe SiteCat

code: SCAuth(key, secret)

5. Major chunk of pulling the data with below given set of instructions

code:

report = QueueRanked(reportsuite.id = reportsuite.id,

              date.from = start.date,

              date.to = end.date,

              metrics = metrics,

              elements = object which has defined metric names,

              search.type = search.type,

              search = search,

              top = top,

              start = start,

              segment.id = segments,

              interval.seconds = 5 or as required,

              max.attempts = 10 or as required,

              enqueueOnly = FALSE/TRUE)

 6. To save data to a file

write.csv(report, "my_report.csv")


Simple ain't it, practice makes all of us perfect. Feel free to ask questions or comment if you have any diff solutions.


Manthan Shah

Digital Transformation Leader at Adobe | Enterprise Architecture | Podcast Host

7 年

要查看或添加评论,请登录

Anshika (un-shi-ka) Agarwal的更多文章

  • How to catch the tail ?

    How to catch the tail ?

    Working on data analysis, predictive analytics, strategy modelling or product management. In today’s digital ecosphere…

    1 条评论
  • ALIENS of the online world?

    ALIENS of the online world?

    Digital Presence in form of websites and online presence provides substantial bot activities. Bots can be helpful for…

  • Native Apps vs Hybrid Apps (uno)

    Native Apps vs Hybrid Apps (uno)

    Mobile usage as seeing an incessant push since last few years. To trust the statistics, it up at 52% with respect to…

  • Shoe that fit all sizes

    Shoe that fit all sizes

    I can’t carry my desktop or my laptop in an #Uber but still want to shop that crazy hat for the next pool party. Ouch –…

  • GDPR - "the elephant in the room"

    GDPR - "the elephant in the room"

    Facts about GDPR ?What is GDPR? The General Data Protection Regulation (GDPR) ensures that people’s data is protected…

  • Questionable ? Difference between Data Analytics and Business Intelligence

    Questionable ? Difference between Data Analytics and Business Intelligence

    Data Analytics This helps in building essential data capturing architecture for future forecasted and how to do it or…

    1 条评论
  • "Caught My Eye" - Let's talk about "Content Writing"

    "Caught My Eye" - Let's talk about "Content Writing"

    Quick tips to write that blog you have been thinking about for quite sometime now or writing a product description or…

  • Merging and Cleaning the data using R

    Merging and Cleaning the data using R

    R is a suitable option to build out of data oriented problems and create a suitable solution irrespective of your…

    2 条评论
  • Data Scientist VS Data Analyst - A very common question that makes you think!

    Data Scientist VS Data Analyst - A very common question that makes you think!

    Data Scientist Innovating and figuring ways to fetch, build and create data sets. Technical background, knowledge of…

  • One does not simply do Data Science - Everyday graphs using R (Part 1)

    One does not simply do Data Science - Everyday graphs using R (Part 1)

    Working with data demands value generation. There is an urgent need to draw stories, color the numbers in patterns…

社区洞察

其他会员也浏览了