Re: [R] Download data ph soil

2020-12-03 Thread Jim Lemon
Hi Jose, Searching for "soil pH data" reveals a bucketload of sites with this sort of data in lots of formats. Jim On Thu, Dec 3, 2020 at 10:07 PM José Luis Aguilar wrote: > > Dear list members, > > I am looking for soil pH data for Europe and Africa, but I don't. > I need them to set up a map

Re: [R] Download data from NASA for multiple locations - RCurl

2017-10-16 Thread David Winsemius
> On Oct 16, 2017, at 1:43 PM, Miluji Sb wrote: > > I have done the following using readLines > > directory <- "~/" > files <- list.files(directory) > data_frames <- vector("list", length(files)) > for (i in seq_along(files)) { > df <- readLines(file.path(directory, files[i])) > df <- df[-(

Re: [R] Download data from NASA for multiple locations - RCurl

2017-10-16 Thread Miluji Sb
I have done the following using readLines directory <- "~/" files <- list.files(directory) data_frames <- vector("list", length(files)) for (i in seq_along(files)) { df <- readLines(file.path(directory, files[i])) df <- df[-(1:13)] df <- data.frame(year = substr(df,1,4),

Re: [R] Download data from NASA for multiple locations - RCurl

2017-10-16 Thread David Winsemius
> On Oct 15, 2017, at 3:35 PM, Miluji Sb wrote: > > Dear David, > > This is amazing, thank you so much. If I may ask another question: > > The output looks like the following: > > ### > dput(head(x,15)) > c("Metadata for Requested Time Series:", "", > "prod_name=GLDAS_NOAH025_3H_v2.0", > "p

Re: [R] Download data from NASA for multiple locations - RCurl

2017-10-15 Thread Miluji Sb
Dear David, This is amazing, thank you so much. If I may ask another question: The output looks like the following: ### dput(head(x,15)) c("Metadata for Requested Time Series:", "", "prod_name=GLDAS_NOAH025_3H_v2.0", "param_short_name=Tair_f_inst", "param_name=Near surface air temperature", "uni

Re: [R] Download data from NASA for multiple locations - RCurl

2017-10-15 Thread David Winsemius
> On Oct 15, 2017, at 2:02 PM, Miluji Sb wrote: > > Dear all, > > i am trying to download time-series climatic data from GES DISC (NASA) > Hydrology Data Rods web-service. Unfortunately, no wget method is > available. > > Five parameters are needed for data retrieval: variable, location, > sta

Re: [R] Download data from Internet contained in a Zip file

2016-12-25 Thread Jeff Newmiller
The fact that you are downloading a zip is irrelevant. The "s" in "https" means you are trying to download using the secure http protocol. I don't use a Mac, but Google finds https://stat.ethz.ch/pipermail/r-sig-mac/2011-July/008395.html when I search on "r unsupported url scheme mac osx" which

Re: [R] Download data from Internet contained in a Zip file

2016-12-25 Thread Christofer Bogaso
Hi Jeff, I dont think I understood all that you said. I am using Mac OS X 10.7.5 as OS On Mon, Dec 26, 2016 at 3:10 AM, Jeff Newmiller wrote: > This has nothing to do with the fact that you are dealing with a zip file and > everything to do with the "s" in "https", and all the solutions I have s

Re: [R] Download data from Internet contained in a Zip file

2016-12-25 Thread Jeff Newmiller
This has nothing to do with the fact that you are dealing with a zip file and everything to do with the "s" in "https", and all the solutions I have seen involve knowing what operating system you are using. I highly recommend that you study what Google has to say when you include that detail and

Re: [R] Download data

2013-09-19 Thread Jeff Newmiller
I am sorry to hear that you are having difficulty, but your automation task is one that requires operating-system-specific knowledge that would be off-topic for this list, and web-scraping of forms really requires knowledge of web protocols and (in this case) Java and JavaScript that are also of

Re: [R] Download data

2013-09-18 Thread jcrosbie
Thank you for all your help. I'm still not able to figure out how automate downloads from online websites. This is a daily function to download the needed data. I would also like to be able to do this on other websites such as: http://ets.aeso.ca/ets_web/docroot/Market/Reports/HistoricalReportsS

Re: [R] Download data

2013-05-29 Thread james crosbie
dnesday, May 29, 2013 6:50 AM Subject: Re: [R] Download data I tried reading in the data using the XML package, but I can't figure out how to read either ALL of the tables or a particular table.  The code below just reads the first table.  Maybe someone else will know how. Jean

Re: [R] Download data

2013-05-29 Thread Adams, Jean
I tried reading in the data using the XML package, but I can't figure out how to read either ALL of the tables or a particular table. The code below just reads the first table. Maybe someone else will know how. Jean library(XML) look <- readHTMLTable("http://www.ngx.com/settlehistory.html";) h

Re: [R] Download data

2013-05-29 Thread Pascal Oettli
Hi, The combination "read.table" (and its arguments) + "stdin" also can be used, directly in R. > read.table(stdin(), ...) Regards, Pascal On 29/05/2013 21:35, Jim Lemon wrote: On 05/29/2013 02:02 AM, jcrosbie wrote: Hi, I'm trying to download data from: http://www.ngx.com/settlehistory.ht

Re: [R] Download data

2013-05-29 Thread Jim Lemon
On 05/29/2013 02:02 AM, jcrosbie wrote: Hi, I'm trying to download data from: http://www.ngx.com/settlehistory.html Is it possible to fetch the data with R? Hi jcrosbie, The simplest way seems to be to highlight the desired spreadsheet (less the title row), copy (Ctrl-C) and paste (Ctrl-V) it

Re: [R] Download data

2013-05-24 Thread David Reiner
Actually I think the one you want is 'FRED/DCOILWTICO' -- David -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of David Reiner Sent: Friday, May 24, 2013 8:46 AM To: Christofer Bogaso; r-help Subject: Re: [R] Download da

Re: [R] Download data

2013-05-24 Thread David Reiner
Quandl package is your friend: library(Quandl) # download and install if necessary oil <- Quandl('FRED/WCOILWTICO', type='xts') # Search the quandl.com site to make sure this is the data you want. # I just put in your text string 'WTI - Cushing, Oklahoma' and got several results which might be the