httr Questions
1
Solved
How can i post "within" a html session?
So after i opened a session via a <- rvest::html_session(url)
I tried:
library(httr)
POST(path,
add_headers(setNames(as.character(headers(a)), names(...
Junji asked 7/5, 2016 at 7:22
2
The following script allows me to get to a website with several links with similar names. I want to get only one of them, which can be diferentiated from the others because it is printed in bold in...
2
Solved
So I'm not 100% sure this is possible, but I found a good solution in Ruby and in python, so I was wondering if something similar might work in R.
Basically, given a URL, I want to render that URL...
1
Solved
2
Solved
note: ipums international and ipums usa probably use the same system. ipums usa allows quicker signup. if you would like to test out your code, try https://usa.ipums.org/usa-action/users/request_ac...
Volk asked 16/1, 2016 at 17:30
2
Solved
I'm getting stuck on cookies when trying to download a PDF.
For example, if I have a DOI for a PDF document on the Archaeology Data Service, it will resolve to this landing page
with an embedded ...
Honebein asked 6/1, 2016 at 0:40
3
Solved
I am attempting to work with Azure storage via the REST API in R. I'm using the package httr which overlays Curl.
Setup
You can use R-fiddle: http://www.r-fiddle.org/#/fiddle?id=vh8uqGmM
library...
Emmeram asked 25/3, 2015 at 22:30
2
Solved
2
i would like to web scrape yammer data using R,but in order to do so first il have to login to this page,(which is authentication for an app that i created).
https://www.yammer.com/dialog/authentic...
2
1
Solved
I have a problem with logging in in my script. Despite all other good answers that I found on stackoverflow, none of the solutions worked for me.
I am scraping a web forum for my PhD research, it...
Decasyllable asked 7/9, 2015 at 8:44
1
Solved
I got simple file uploads to Google Drive working using httr. The problem is that every document is uploaded as "untitled", and I have to PATCH the metadata to set the title. The PATCH request occa...
Caporetto asked 26/6, 2015 at 19:0
1
Solved
I've got a manual process where I'm uploading 5-6 GB file to a web server via curl:
curl -X POST --data-binary @myfile.csv http://myserver::port/path/to/api
This process works fine, but I'd love...
1
Solved
I have the following curl request:
curl --request GET --header "key: value" http://urlhere
How can I run the request in R?
1
Solved
Trying to download information from a specific web page, and although it opens fine in any browser, RCurl says it does not exists:
url.exists("http://www.transfermarkt.es/liga-mx-apertura/startse...
1
Solved
I can't figure out how to imitate what the browser does, when sending the server data via a POST request. Here are the relevant URLs with explanation below.
(1) http://kenpom.com/
(2) http://kenp...
Trepidation asked 8/3, 2015 at 9:9
1
Solved
1
Solved
Does anyone know how to formulate following SOAP request with R?
POST /API/v201010/AdvertiserService.asmx HTTP/1.1
Host: advertising.criteo.com
Content-Type: text/xml; charset=utf-8
Content-Length...
1
Solved
The following is a script to reproduce the problems i'm facing when building a crawler with RCurl that performs concurrent requests.
The objective is to download the content of several thousands o...
2
Solved
i originally asked this question about performing this task with the httr package, but i don't think it's possible using httr. so i've re-written my code to use RCurl instead -- but i'm still tripp...
Unciform asked 26/6, 2013 at 19:56
1
Solved
I'm trying to access a site that sets a cookie on the basis of what type of visitor:
library(httr)
url <- "https://www.blackrock.com/ca/individual/en/products/product-list#categoryId=1&lvl...
1
Solved
I'm trying to download the content from a page and I'm finding that the response data is either malformed or incomplete, as if GET or getURL are pulling before those data are loaded.
library(httr...
2
Solved
I'm trying to scrape data from a password-protected website in R. Reading around, it seems that the httr and RCurl packages are the best options for scraping with password authentication (I've also...
Yerkovich asked 13/7, 2014 at 14:16
1
Solved
I'm working on a few functions to get data from StatBank Denmark, and their API. They have made a console to test JSON calls and I know the basic_request I parse to JSON in the function dst_get_dat...
1
Solved
Is there anything special I need to consider when trying to change the user agent via httr::user_agent in a httr::GET() call on MS Windows? I'm using R-3.1.0 and httr 0.3.
Following the example at...
May asked 8/5, 2014 at 15:12
© 2022 - 2024 — McMap. All rights reserved.