Re: [R] help with json data from the web into data frame in R

2018-05-12 Thread K. Elo
:"SMW\Serializers\QueryResultSerial > i >          (right here) --^ > > > I'm not really a JSON expert, so am not equipped to offer debugging > assistance there. > > --  > David. > > > > > > Thank you! > > -Rich > &g

Re: [R] help with json data from the web into data frame in R

2018-05-09 Thread Evans, Richard K. (GRC-H000)
(GRC-H000); David Winsemius Cc: r-help@r-project.org Subject: Re: [R] help with json data from the web into data frame in R Regarding the question: From the linux shell I use the "-k" switch with cURL to ignore cert errors.. is there an equivalent in the R world? I have (someti

Re: [R] help with json data from the web into data frame in R

2018-05-09 Thread MacQueen, Don
Of Evans, Richard K. (GRC-H000) Sent: Tuesday, May 08, 2018 11:52 AM To: David Winsemius Cc: r-help@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 erro

Re: [R] help with json data from the web into data frame in R

2018-05-08 Thread David Winsemius
txt <- file(txt) } } fromJSON_string(txt = txt, simplifyVector = simplifyVector, simplifyDataFrame = simplifyDataFrame, simplifyMatrix = simplifyMatrix, flatten = flatten, ...) } > > > Thank you! > -Rich > > -----Original Message

Re: [R] help with json data from the web into data frame in R

2018-05-08 Thread David Winsemius
s a cleaner way to do it.. using R to evoke > cURL to get the data as text and then passing it 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 > > -

Re: [R] help with json data from the web into data frame in R

2018-05-08 Thread Evans, Richard K. (GRC-H000)
5 PM To: Evans, Richard K. (GRC-H000) Cc: r-help@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) > wrote: > > That said, I have two issues to ask for help with: > > 1) how to ignore

Re: [R] help with json data from the web into data frame in R

2018-05-08 Thread Evans, Richard K. (GRC-H000)
> 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-boun...@r-proj

Re: [R] help with json data from the web into data frame in R

2018-05-08 Thread Evans, Richard K. (GRC-H000)
> 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-boun...@r-project.org] On Behal

Re: [R] help with json data from the web into data frame in R

2018-05-08 Thread David Winsemius
; 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-boun...@r-project.org] On Behal

Re: [R] help with json data from the web into data frame in R

2018-05-08 Thread Evans, Richard K. (GRC-H000)
hard K. (GRC-H000) Sent: Tuesday, May 08, 2018 11:52 AM To: David Winsemius Cc: r-help@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

Re: [R] help with json data from the web into data frame in R

2018-05-08 Thread Evans, Richard K. (GRC-H000)
n equivalent in the R world? -Rich -Original Message- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Tuesday, May 08, 2018 11:48 AM To: Evans, Richard K. (GRC-H000) Cc: Eric Berger; r-help@r-project.org Subject: Re: [R] help with json data from the web into data frame in

Re: [R] help with json data from the web into data frame in R

2018-05-08 Thread David Winsemius
t; .. .. ..$ fullurl : chr "https://www.semantic-mediawiki.org/wiki/File:2166320938_5cfc9ec72a_z.jpg"; #-trimmed--- David > > -Rich > > From: Eric Berger [mailto:ericjber...@gmail.com] > Sent: Tuesday, May 08, 2018 11:31 AM > To: Evans, Richard K. (GRC-H000)

Re: [R] help with json data from the web into data frame in R

2018-05-08 Thread Evans, Richard K. (GRC-H000)
From: Eric Berger [mailto:ericjber...@gmail.com] Sent: Tuesday, May 08, 2018 11:31 AM To: Evans, Richard K. (GRC-H000) Cc: r-help@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

Re: [R] help with json data from the web into data frame in R

2018-05-08 Thread Eric Berger
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) < richar

[R] help with json data from the web into data frame in R

2018-05-08 Thread Evans, Richard K. (GRC-H000)
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