Displaying 12 results from an estimated 12 matches for "5bcategory".
2006 Jul 19
12
[Slightly OT] POSTing data to a Rails App
Hi, I have a Windows program that collects data and would like to store
this data in a database that is usually accessed through Rails.
It was recommended that I try to "POST" the data to the Rails
application. I''m running into some problems trying to format my POST
string for the application. I''m trying to learn by interfacing to the
TODO application (Four Days
2018 May 08
2
help with json data from the web into data frame in R
...json data converted into a data frame in R.
Can anyone provide a basic example or some guidance please?
-Rich (revansx)
[0] https://www.semantic-mediawiki.org/w/api.php?action=ask&query=[[Category:City]]&format=json<https://www.semantic-mediawiki.org/w/api.php?action=ask&query=%5b%5bCategory:City%5d%5d&format=json>
[1] https://www.tutorialspoint.com/r/r_json_files.htm
______________________________________________
R-help at r-project.org<mailto:R-help at r-project.org> mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read...
2018 May 08
0
help with json data from the web into data frame in R
...hat might be my issue. Is there any way in the json package to tell it to ignore self-signed cert errors in a url?
I didn't have that issue when using the link you offered:
library(jsonlite)
myJSON <- fromJSON( url("https://www.semantic-mediawiki.org/w/api.php?action=ask&query=%5B%5BCategory:City%5D%5D&format=json") )
# results in a complex list (not trivially reducible to a dataframe:
str(myJSON)
List of 1
$ query:List of 5
..$ printrequests:'data.frame': 1 obs. of 5 variables:
.. ..$ label : chr ""
.. ..$ key : chr ""
.. ..$ redi :...
2018 May 08
3
help with json data from the web into data frame in R
...hat might be my issue. Is there any way in the json package to tell it to ignore self-signed cert errors in a url?
I didn't have that issue when using the link you offered:
library(jsonlite)
myJSON <- fromJSON( url("https://www.semantic-mediawiki.org/w/api.php?action=ask&query=%5B%5BCategory:City%5D%5D&format=json") )
# results in a complex list (not trivially reducible to a dataframe:
str(myJSON)
List of 1
$ query:List of 5
..$ printrequests:'data.frame': 1 obs. of 5 variables:
.. ..$ label : chr ""
.. ..$ key : chr ""
.. ..$ redi :...
2018 May 08
0
help with json data from the web into data frame in R
...hat might be my issue. Is there any way in the json package to tell it to ignore self-signed cert errors in a url?
I didn't have that issue when using the link you offered:
library(jsonlite)
myJSON <- fromJSON( url("https://www.semantic-mediawiki.org/w/api.php?action=ask&query=%5B%5BCategory:City%5D%5D&format=json") )
# results in a complex list (not trivially reducible to a dataframe:
str(myJSON)
List of 1
$ query:List of 5
..$ printrequests:'data.frame': 1 obs. of 5 variables:
.. ..$ label : chr ""
.. ..$ key : chr ""
.. ..$ redi :...
2018 May 08
3
help with json data from the web into data frame in R
...there any way in the json package to tell it to ignore self-signed cert errors in a url?
>
> I didn't have that issue when using the link you offered:
>
> library(jsonlite)
> myJSON <- fromJSON( url("https://www.semantic-mediawiki.org/w/api.php?action=ask&query=%5B%5BCategory:City%5D%5D&format=json") )
>
> # results in a complex list (not trivially reducible to a dataframe:
>
> str(myJSON)
> List of 1
> $ query:List of 5
> ..$ printrequests:'data.frame': 1 obs. of 5 variables:
> .. ..$ label : chr ""
> .. ..$ k...
2018 May 09
1
help with json data from the web into data frame in R
...e. Is there any way in the json package to tell it to ignore self-signed cert errors in a url?
I didn't have that issue when using the link you offered:
library(jsonlite)
myJSON <- fromJSON( url("https://www.semantic-mediawiki.org/w/api.php?action=ask&query=%5B%5BCategory:City%5D%5D&format=json") )
# results in a complex list (not trivially reducible to a dataframe:
str(myJSON)
List of 1
$ query:List of 5
..$ printrequests:'data.frame': 1 obs. of 5 variables:
.. ..$ label : chr ""
.. ..$ key...
2018 May 08
0
help with json data from the web into data frame in R
...there any way in the json package to tell it to ignore self-signed cert errors in a url?
>
> I didn't have that issue when using the link you offered:
>
> library(jsonlite)
> myJSON <- fromJSON( url("https://www.semantic-mediawiki.org/w/api.php?action=ask&query=%5B%5BCategory:City%5D%5D&format=json") )
>
> # results in a complex list (not trivially reducible to a dataframe:
>
> str(myJSON)
> List of 1
> $ query:List of 5
> ..$ printrequests:'data.frame': 1 obs. of 5 variables:
> .. ..$ label : chr ""
> .. ..$ k...
2018 May 08
3
help with json data from the web into data frame in R
...there any way in the json package to tell it to ignore self-signed cert errors in a url?
>
> I didn't have that issue when using the link you offered:
>
> library(jsonlite)
> myJSON <- fromJSON( url("https://www.semantic-mediawiki.org/w/api.php?action=ask&query=%5B%5BCategory:City%5D%5D&format=json") )
>
> # results in a complex list (not trivially reducible to a dataframe:
>
> str(myJSON)
> List of 1
> $ query:List of 5
> ..$ printrequests:'data.frame': 1 obs. of 5 variables:
> .. ..$ label : chr ""
> .. ..$ k...
2018 May 08
0
help with json data from the web into data frame in R
...e json package to tell it to ignore self-signed cert errors in a url?
>>
>> I didn't have that issue when using the link you offered:
>>
>> library(jsonlite)
>> myJSON <- fromJSON( url("https://www.semantic-mediawiki.org/w/api.php?action=ask&query=%5B%5BCategory:City%5D%5D&format=json") )
>>
>> # results in a complex list (not trivially reducible to a dataframe:
>>
>> str(myJSON)
>> List of 1
>> $ query:List of 5
>> ..$ printrequests:'data.frame': 1 obs. of 5 variables:
>> .. ..$ label : c...
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
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