Questions tagged [rcurl]

RCurl is an R package that provides an R-friendly wrapper for the libcurl C library.

RCurl is an R package that provides a wrapper for the libcurl C library (not the cURL command-line tool, ). RCurl greatly simplifies the process of interfacing R programs with web services and provides simple functions to perform common HTTP calls such as POST and GET. RCurl is cross-platform and installs necessary dependencies when it is added as an R package.

The core workhorse function in RCurl is curlPerform, which maps curl_easy_opt options almost verbatim. See listCurlOptions() for a list of arguments representing those options that can be passed to curlPerform (either directly or via other RCurl functions).

Users may also be interested in the package, which provides a further simplified wrapper around RCurl for common requests.

734 questions
-1
votes
1 answer

Submitting an XML request form to an API using R

I was previously (and still) having trouble navigating from a beginning link, in order to get to the next link to fill in a data request form and then extract the information from the resulting table. My coding attempt is here. I have been informed…
AyeTown
  • 831
  • 1
  • 5
  • 20
-1
votes
1 answer

Unable to install package RCurl

I am having some problem with the weatherData package in R. As I am using this code: a <-…
Monali
  • 43
  • 7
-1
votes
1 answer

Is There a Way to Ignore Bad Certificate When Using RCurl getURL()

Just started using RCurl to read XML data from URL on HTTPS and I have been getting errors complaining about certification, so I was wondering if anyone knows a way to ignore certification and have some examples. I know ignoring certification can be…
user2103970
  • 703
  • 3
  • 9
  • 15
-1
votes
1 answer

Using R to call a Web Service: Send data and get the result table back in R

http://snomedct.t3as.org/ This is a web service that will analyse English clinical text, and report any concepts that can be detected. For e.g.- I have headache. It will identify headache as a Symptom. Now what I would like to do is send the…
user3117837
  • 87
  • 1
  • 8
-1
votes
1 answer

Simple Curl -H in R

I want to do curl -H "Authorization: Basic YOUR_API_KEY" -d '{"classifier_id":155, "value":"TEST"}' "https://www.machinelearningsite.com/language/classify" I tried h = getCurlHandle(header = TRUE, userpwd = YOUR_API_KEY, netrc = TRUE) out <-…
user670186
  • 2,588
  • 6
  • 37
  • 55
-1
votes
1 answer

Parallelisation to scrape web content with R

I am trying to scrape data from web using asynchronous approach as mentioned in this post. Here is the urls that I want to scrape data from. I store the urls in list.Rdata file. The links could be downloaded from here:…
Aleksandr
  • 1,814
  • 11
  • 19
-1
votes
2 answers

Webscraping using Rcurl

A situation in which we want to know the 10 most frequent posters to the R-help list serve for january 2014, I have used getURL to retrieve data from the ETHZ secure site. library("RCurl") library("XML") jan14 <-…
user4317921
-1
votes
1 answer

How can I scrape this webpage in R?

I'm trying to scrape the following webpage in R using the XML, RCurl, or httr libraries: http://accuscore.com/fantasy-sports/nfl-fantasy-sports/Rest-of-Season-RB The webpage opens correctly in my browser. Here are my attempts to scrape the…
itpetersen
  • 1,475
  • 3
  • 13
  • 32
-2
votes
1 answer

R funtion for website table into dataframe

I want to download a table from a database that contains a set of information in a table format The website https://membranome.org/species/1 I tried Rcurl,rlist, rvest and jsonlite but i cannot make it for example jsonlite code a <-…
Katrix_02
  • 83
  • 6
-2
votes
1 answer

Download an .xlsx file using GetUrl()

I am trying to download a .xlsx file using the RCurl library and GetUrl() function. But i get the error embedded nul in string: 'PK\003\004\024\0\006\0\b\0\0\0!\0ª÷X¤z\001\0\0\024\006\0\0\023\0\b\002[Content_Types].xml…
-2
votes
1 answer

How to convert splunk curl query into Rcurl

I want to convert this particular splunk curl request into Rcurl: curl -k -u admin:pass https://localhost:8089/services/search/jobs --get -d search="eventCount>100"
Deb
  • 193
  • 1
  • 3
  • 20
-2
votes
1 answer

HTML Form authentication using R

I'm trying to log into http://etportfolio.economictimes.indiatimes.com/Login.htm using R to access my stock holding within the portfolio created. Here is my script to which I get a message "Method Not…
-2
votes
1 answer

Yahoo search button name in html

I wanted to get the html of search yahoo search result using R code like below. If its google it would be like siteHTML<-getForm("google.com/search",hl="en",q="keyword",btnG="Search") In case of yahoo I could find the keyword search tag should be…
-5
votes
1 answer

Download files with specific extension from a website

How can I download the content of a webpage and find all files with specific extension listed on it. And then download all of them. For example, I would like to download all netcdf files (with extension *.nc4) from the following…
89_Simple
  • 3,393
  • 3
  • 39
  • 94
1 2 3
48
49