Re: [R] Newbie - Scrape Data From PDFs?

2018-01-23 Thread Ulrik Stervbo
I think I would use pdftk to extract the form data. All subsequent manipulation in R. HTH Ulrik Eric Berger schrieb am Mi., 24. Jan. 2018, 08:11: > Hi Scott, > I have never done this myself but I read something recently on the > r-help distribution that was related. > I just did a quick search

[R] Function gutenberg_download in the gutenbergr package

2018-01-23 Thread Patrick Connolly
I've been working through https://www.tidytextmining.com/tidytext.html wherein everything worked until I got to this part in section 1.5 > hgwells <- gutenberg_download(c(35, 36, 5230, 159)) Determining mirror for Project Gutenberg from http://www.gutenberg.org/robot/harvest Error in open.connec

Re: [R] Newbie - Scrape Data From PDFs?

2018-01-23 Thread Eric Berger
Hi Scott, I have never done this myself but I read something recently on the r-help distribution that was related. I just did a quick search and found a few hits that might work for you. 1. https://medium.com/@CharlesBordet/how-to-extract-and-clean-data-from-pdf-files-in-r-da11964e252e 2. http://

[R] Newbie - Scrape Data From PDFs?

2018-01-23 Thread Scott Clausen
Hello, I’m new to R and am using it with RStudio to learn the language. I’m doing so as I have quite a lot of traffic data I would like to explore. My problem is that all the data is located on a number of PDFs. Can someone point me to info on gathering data from other sources? I’ve been to the

Re: [R] Scraping from different level URLs website

2018-01-23 Thread Jeff Newmiller
They seem to release their data in xml and csv formats also... why are you scraping? -- Sent from my phone. Please excuse my brevity. On January 23, 2018 9:31:01 AM PST, Ilio Fornasero wrote: >I am doing a research on World Bank (WB) projects on developing >countries. To do so, I am scraping

[R] Scraping from different level URLs website

2018-01-23 Thread Ilio Fornasero
I am doing a research on World Bank (WB) projects on developing countries. To do so, I am scraping their website in order to collect the data I am interested in. The structure of the webpage I want to scrape is the following: 1. List of countries the list of all countries in which WB has dev

[R] interaction term by a factor group in gamm4

2018-01-23 Thread Maria Lathouri via R-help
Dear all, I am writing as I would really need your help on the problem with gamm4. I have tried to find a solution online but I wasn't very successful. I am running a gamm4 model with an interaction between two variable using the tensor term, t2. I have a group variable (super end group) with s

Re: [R] substr gives empty output

2018-01-23 Thread Luigi Marongiu
Thank you, I got it, now it works good On Mon, Jan 22, 2018 at 1:58 PM, Howard, Tim G (DEC) wrote: > In > > y <- substr(x, i, 1) > > your third integer needs to be the location not the number of digits, so > change it to > > y <- substr(x, i, i) > > and you should get what you want. > Cheers,