Skip to content
/ gkg Public

Google Knowledge Graph from R

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

JohnCoene/gkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis build status

gkg

Call the Google Knowledge Graph API

Installation

You can install the package from Github with:

# install.packages("remotes")
remotes::install_github("JohnCoene/gkg")

Example

Only contains a single function: gkg, see man for details. You will need credentials, which you can get for free, see the prerequisites. By default, gkg looks for the api key as GKG_API_KEY environment variable.

gkg("R Programming", languages = "en", types = "Person")
#>                vocab                          goog      entitysearchresult
#> 1 http://schema.org/ http://schema.googleapis.com/ goog:EntitySearchResult
#>        detaileddescription      resultscore             kg            id
#> 1 goog:detailedDescription goog:resultScore http://g.co/kg kg:/m/0bxzv0g
#>               name thing person           description
#> 1 Robert Gentleman Thing Person Canadian statistician
#>                                                                                                            detaileddescription_articlebody
#> 1 Robert Clifford Gentleman is a Canadian statistician and bioinformatician currently vice president of computational biology at 23andMe. 
#>                                         detaileddescription_url
#> 1 https://en.wikipedia.org/wiki/Robert_Gentleman_(statistician)
#>                                                                                    detaileddescription_license
#> 1 https://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License

About

Google Knowledge Graph from R

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages