top of page
Search

Getting R to work with your Salesforce.com CRM data

  • fcscloud
  • Dec 9, 2024
  • 1 min read

 

R is widely used among scientists and statisticians to perform statistical analysis while Salesforce.com is one of the leading CRM software packages used for Marketing and Salesforce automation. Salesforce.com contains vital information regarding Leads, Customers, Contacts, Opportunities and Cases. Currently this data is mainly used for operational purposes by Sales and Marketing professionals.  

How about using Salesforce CRM data for predictive analysis or forecasting? 

One way to achieve this is to read Salesforce data using Java Web Services API provided by Salesforce and feeding that data to R. We can export salesforce data to CSV file and importing the data into R. But this process will be tedious and time consuming. The best option is if we can query Salesforce.com data directly from R and create a data frame or matrix for performing data analysis.

 

Fortunately we can use rJava package directly from R to invoke Java code. Values returned by Java methods are available in R session memory and can be mapped to equivalent R data structures. So, theoretically it must be possible to invoke a java method from R which connects to Salesforce.com and returns the required data.

 
 
 

Comments

Couldn’t Load Comments
It looks like there was a technical problem. Try reconnecting or refreshing the page.

FCS Digital

At fcs Digital, we are dedicated to pushing the boundaries of what's possible in the global business landscape. Our passion for innovation and client success drives everything we do.

  • LinkedIn
  • Facebook
  • Instagram
  • Youtube

Contact Info

Address - 69/3B, DD Mondal Ghat Rd, Dakshineswar, Kolkata, West Bengal - 700076

Phone No. - +91 98301 96563

Phone No. - +91 91238 25383

© 2023 fcs Digital. All rights reserved.

bottom of page