httr Questions
4
I am trying to simply replicate the example of rvest::html_nodes(), yet encounter an error:
library(rvest)
ateam <- read_html("http://www.boxofficemojo.com/movies/?id=ateam.htm")
html_nodes(ate...
Discursive asked 29/11, 2016 at 19:15
1
Solved
I'm trying to make a request from httr package in R:
POST(url = "https://website.com/api/waterfalls",
query = list(itemsPerPage="10", page="1", sortAsc="true", sortBy="priority"),
add_headers(...
1
Solved
I am trying to download an excel file, which I have the link to, but I am required to log in to the page before I can download the file. I have successfully passed the login page with rvest, rcurl ...
1
Solved
the code below works fine in interactive mode but fails when used in a function. it's pretty simply two authentications POST commands followed by the data download. my goal is to get this working i...
Unicorn asked 23/2, 2018 at 17:6
1
I'm trying to get lyrics from the chartlyrics API. I write an R function that works but not inside a loop. My script is:
library(httr)
library(RCurl)
library(XML)
df <- data.frame(artist = c('...
1
Solved
I'm trying to programatically search a website, but the submit button functionality seems to be primarily powered by JavaScript. I'm not overly familiar with how this works though, so I could be wr...
Extrovert asked 14/9, 2017 at 16:39
2
Solved
I am trying to login with my credentials to a .NET site but unable to get it working. My code is inspired from the below thread
How to login and then download a file from aspx web pages with R
li...
1
Solved
Problem
The package httr provides CURL wrappers in R (see package documentation).
I'm brand new to HTTP and APIs. My trouble is getting oauth2.0 authentication to work. I have tried various syntax ...
1
I am trying to make async requests to a REST API from R. The below curl command illustrates the parameters that I need to the pass to the api. I'm giving you guys the linux curl command as I'm hopi...
Mycah asked 25/8, 2015 at 3:1
2
This is a follow up / updated question to this:
AWS dynamodb support for "R" programming language
I am looking for examples or documentation on how to read in a table from Dynamo...
Ceria asked 21/9, 2013 at 18:35
4
I am using the httr v0.2 package to use the github api as well now. But I am struggling to get past the oauth2.0(...) part in which I get to the browser page for my app, click on 'Allow' and then g...
Recommendatory asked 1/11, 2012 at 0:20
2
I am in the process of writing a collection of freely-downloadable R scripts for http://asdfree.com/ to help people analyze the complex sample survey data hosted by the UK data service. In addition...
Anathematize asked 22/7, 2013 at 1:1
0
I'm trying to automate the shibboleth-based login process for the UK Data Service in R. One can sign up for an account to login here. A previous attempt to automate this process is found in this qu...
Thurgau asked 9/3, 2017 at 17:8
1
Solved
I am attempting to use this webpage http://volcano.si.edu/search_eruption.cfm to scrape data. There are two drop-down boxes that ask for filters of the data. I do not need filtered data, so I leave...
2
Solved
I am trying to access a private repository on Github using httr. I am able to do so with no problem if I add my github token (stored as an environment variable in GITHUB_TOKEN):
httr::GET("https:/...
1
Solved
Currently changing user_agent by passing different strings to the html_session() method.
Is there also a way to change your IP address on a timer when scraping a website?
1
Solved
Trying to scrape a web page title but running into a problem with a website called "tweg.com"
library(httr)
library(rvest)
page.url <- "tweg.com"
page.get <- GET(page.url) # from httr
pg <...
2
Solved
I am trying to access the highlighted response header: location text in the screenshot below using only R and its curl-based webscraping libraries. one can easily get to this point in any web brows...
1
Solved
I am trying to get the results of that form with httr.
Having looked the form results, I tried the following:
library(httr)
library(stringr)
r = str_c("http://www.memoiredeshommes.sga.defense.go...
4
Solved
I am trying to fix a download automation script that I provide publicly so that anyone can easily download the world values survey with R.
On this web page - http://www.worldvaluessurvey.org/WVSDo...
Batchelder asked 2/7, 2016 at 3:22
2
Solved
I am trying to convert JSON pulled from an API into a data frame in R, so that I can use and analyze the data.
#Install needed packages
require(RJSONIO)
require(httr)
#request a list of companie...
2
i'm trying to download a file that's 1.1 gigabytes with httr but i'm hitting the following error:
x <- GET( extract.path )
Error in curlPerform(curl = handle$handle, .opts = curl_opts$values) :...
Stacistacia asked 25/6, 2013 at 20:15
2
Solved
My package's DESCRIPTION file has httr in its Imports directive:
Imports:
httr (>= 1.1.0),
jsonlite,
rstudioapi
httr exports an S3method for length.path.
S3method(length,path)
And it's ...
Astereognosis asked 27/8, 2016 at 19:53
1
Solved
3
Solved
I was wondering whether there was a way to compare airport distances(IATA codes). There are some scripts but not is using R. So I tried that with with the API:
developer.aero
Example data:
libra...
© 2022 - 2024 — McMap. All rights reserved.