search for: h000

Displaying 15 results from an estimated 15 matches for "h000".

Did you mean: 1000
2018 May 08
3
help with json data from the web into data frame in R
..."query" = "[[Category:City]]|?Capital%20of|?Has%20area", "format" = "json" .opts = list(ssl.verifypeer = FALSE) ) Thank you! -Rich -----Original Message----- From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Evans, Richard K. (GRC-H000) Sent: Tuesday, May 08, 2018 12:51 PM To: David Winsemius Cc: r-help at r-project.org Subject: Re: [R] help with json data from the web into data frame in R [non-tabular json data] -- ok.. so I think I need to figure out how to make it tabular. Thanks! [curl] -- I was hoping there was a cleaner w...
2018 May 08
3
help with json data from the web into data frame in R
> On May 8, 2018, at 9:03 AM, Evans, Richard K. (GRC-H000) <richard.k.evans at nasa.gov> wrote: > > That said, I have two issues to ask for help with: > > 1) how to ignore cert errors with a fromJSON call If you can do it with curl, then why aren't you doing one of a) a system call, b) installing and loading RCurl, c) installing a...
2018 May 08
0
help with json data from the web into data frame in R
> On May 8, 2018, at 10:08 AM, Evans, Richard K. (GRC-H000) <richard.k.evans at nasa.gov> wrote: > > Hi David, .. I think I've got it :-) > Please let me know if you see anything glaringly wrong with this: > > library(RCurl) > zWebObj <- postForm("https://www.semantic-mediawiki.org/w/api.php", > "actio...
2018 May 08
3
help with json data from the web into data frame in R
...he cert error. From the linux shell I use the "-k" switch with cURL to ignore cert errors.. is there an equivalent in the R world? -Rich -----Original Message----- From: David Winsemius [mailto:dwinsemius at comcast.net] Sent: Tuesday, May 08, 2018 11:48 AM To: Evans, Richard K. (GRC-H000) Cc: Eric Berger; r-help at r-project.org Subject: Re: [R] help with json data from the web into data frame in R > On May 8, 2018, at 8:36 AM, Evans, Richard K. (GRC-H000) <richard.k.evans at nasa.gov> wrote: > > I?ve been tinkering and discovered that the link I need to read json...
2018 May 08
0
help with json data from the web into data frame in R
...into getJSON seems to be what I need to do. Do you by chance have an simple example of using RCurl to get a response ignoring cert errors? ty -Rich -----Original Message----- From: David Winsemius [mailto:dwinsemius at comcast.net] Sent: Tuesday, May 08, 2018 12:25 PM To: Evans, Richard K. (GRC-H000) Cc: r-help at r-project.org Subject: Re: [R] help with json data from the web into data frame in R > On May 8, 2018, at 9:03 AM, Evans, Richard K. (GRC-H000) <richard.k.evans at nasa.gov> wrote: > > That said, I have two issues to ask for help with: > > 1) how to ignore ce...
2018 May 08
0
help with json data from the web into data frame in R
....names = TRUE, : arguments imply differing number of rows: 0, 1 > print(json_data_frame) Error in print(json_data_frame) : object 'json_data_frame' not found > -----Original Message----- From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Evans, Richard K. (GRC-H000) Sent: Tuesday, May 08, 2018 11:52 AM To: David Winsemius Cc: r-help at r-project.org Subject: Re: [R] help with json data from the web into data frame in R Right. I'm trying to access a server within my organization which has a cert error that I cannot fix. The example link I provided was t...
2018 May 09
1
help with json data from the web into data frame in R
...ing directory, or your home directory, I'm not sure anymore. I've tried both. -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 Lab cell 925-724-7509 ?On 5/8/18, 9:03 AM, "R-help on behalf of Evans, Richard K. (GRC-H000)" <r-help-bounces at r-project.org on behalf of richard.k.evans at nasa.gov> wrote: That said, I have two issues to ask for help with: 1) how to ignore cert errors with a fromJSON call And 2) why the json data from the example link doesn't convert to...
2018 May 08
2
help with json data from the web into data frame in R
...ficate warning that I have to click through from a browser. That might be my issue. Is there any way in the json package to tell it to ignore self-signed cert errors in a url? -Rich From: Eric Berger [mailto:ericjberger at gmail.com] Sent: Tuesday, May 08, 2018 11:31 AM To: Evans, Richard K. (GRC-H000) Cc: r-help at r-project.org Subject: Re: [R] help with json data from the web into data frame in R Hi Rich, Take a look at the function fromJSON found in the rjson package. Note that the Usage in the help page: ?fromJSON names the second argument 'file' but if you look at the description...
2018 May 08
0
help with json data from the web into data frame in R
> On May 8, 2018, at 8:36 AM, Evans, Richard K. (GRC-H000) <richard.k.evans at nasa.gov> wrote: > > I?ve been tinkering and discovered that the link I need to read json data from is ?https? and there is a certificate warning that I have to click through from a browser. That might be my issue. Is there any way in the json package to tell it to...
2018 May 08
0
help with json data from the web into data frame in R
Hi Rich, Take a look at the function fromJSON found in the rjson package. Note that the Usage in the help page: ?fromJSON names the second argument 'file' but if you look at the description the argument can be a URL. HTH, Eric On Tue, May 8, 2018 at 6:16 PM, Evans, Richard K. (GRC-H000) < richard.k.evans at nasa.gov> wrote: > Hello > > I am able to construct a url that points to some data online in the JSON > format. See an example at [0]. > > I would like to work with this data as a dataframe in R. > > I know that there is a package for handling j...
2018 May 08
2
help with json data from the web into data frame in R
Hello I am able to construct a url that points to some data online in the JSON format. See an example at [0]. I would like to work with this data as a dataframe in R. I know that there is a package for handling json data [1] but it assumes the data is in a local file but It is not clear to me how to request the data from the web in an R script and get the json data converted into a data frame
2017 Sep 25
5
bowed linear approximations
.... I hope this helps, John ----------------------------- John Fox, Professor Emeritus McMaster University Hamilton, Ontario, Canada Web: socserv.mcmaster.ca/jfox > -----Original Message----- > From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Evans, > Richard K. (GRC-H000) > Sent: Monday, September 25, 2017 3:28 PM > To: r-help at r-project.org > Subject: [R] bowed linear approximations > > Hello, > > Please run the following code snippet and note the resulting plot: > > x <- c(10, 50) > y <- c(0.9444483, 0.7680123) > plot(x...
2017 Sep 26
0
bowed linear approximations
...(freq), fitted(mod2), pch=16) lines(spline(log(freq), fitted(mod2))) I have no idea whether this makes substantive sense in the context of your problem. Best, John > -----Original Message----- > From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Evans, > Richard K. (GRC-H000) > Sent: Tuesday, September 26, 2017 10:01 AM > To: Eric Berger <ericjberger at gmail.com>; Fox, John <jfox at mcmaster.ca> > Cc: r-help at r-project.org > Subject: Re: [R] bowed linear approximations > > My apologies for the typos in the code. > Here is a correcte...
2017 Sep 26
0
bowed linear approximations
...------- > John Fox, Professor Emeritus > McMaster University > Hamilton, Ontario, Canada > Web: socserv.mcmaster.ca/jfox > > > > > > -----Original Message----- > > From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Evans, > > Richard K. (GRC-H000) > > Sent: Monday, September 25, 2017 3:28 PM > > To: r-help at r-project.org > > Subject: [R] bowed linear approximations > > > > Hello, > > > > Please run the following code snippet and note the resulting plot: > > > > x <- c(10, 50) > &...
2017 Sep 25
0
bowed linear approximations
Hello, Please run the following code snippet and note the resulting plot: x <- c(10, 50) y <- c(0.9444483, 0.7680123) plot(x,y,type="b",log="x") for(i in 1:50){ xx <- exp(runif(1,log(min(x)),log(max(x)) )) yy <- approx(x,y,xout=xx, method = "linear") points(xx,yy$y) } notice the "log=x" plot parameter and the resulting "bow" in the