Skip to content

R πŸ“¦ for the IBM β˜€πŸ“ˆ for the Personality Insights data

License

Unknown, MIT licenses found

Licenses found

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

jumpingrivers/ibmsunburst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

66 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Lifecycle: stable CRAN status Codecov test coverage R-CMD-check

IBM Personality Insights sunburst diagrams in R

The goal of {ibmsunburst} is to wrap the JavaScript library that IBM have produced for making sunburst personality insights charts for use in R and R Markdown documents.

Work on this package was part-sponsored by Hendrik Feddersen, a prominent HR Analytics advocate.

Installations

Install {ibmsunburst} from GitHub

# install.packages("remotes")
remotes::install_gitub("jumpingrivers/imbsunburst")

Example

Below we input the path to a JSON file corresponding to the output of IBM Watson Personality Insights service and visualize it.

json_path <- system.file(
  "extdata", "profiles",
  "en_v2.json", package = "ibmsunburst"
)

ibmsunburst::ibmsunburst(json = json_path, version = "v2")

You can use the function on a list, on JSON or on a filepath, making it quite handy for integration in your workflow.

There is no R wrapper for the IBM Personality Insight API itself yet, but you could use it with {httr}, as shown in a very short example in the vignette.

Dev notes

Kent Russell added some documentation of the changes that he made to the source sunburst-chart JavaScript library. Find them here.

Code of Conduct

Please note that the ibmsunburst project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.