We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you please address this issue? I've successfully run the sample code from https://rdrr.io/cran/networkD3/f/README.md up to the Sankey Diagram:
Recreate Bostock Sankey diagram: http://bost.ocks.org/mike/sankey/ Load energy projection data URL <- paste0("https://cdn.rawgit.com/christophergandrud/networkD3/",
URL <- paste0("https://cdn.rawgit.com/christophergandrud/networkD3/",
"master/JSONdata/energy.json")
Energy <- jsonlite::fromJSON(URL) Error in open.connection(con, "rb") : SSL certificate problem: certificate has expired Plot sankeyNetwork(Links = Energy$links, Nodes = Energy$nodes, Source = "source",
Energy <- jsonlite::fromJSON(URL) Error in open.connection(con, "rb") : SSL certificate problem: certificate has expired
sankeyNetwork(Links = Energy$links, Nodes = Energy$nodes, Source = "source",
Target = "target", Value = "value", NodeID = "name",
units = "TWh", fontSize = 12, nodeWidth = 30)
Error in is.factor(Source) : object 'Energy' not found
The text was updated successfully, but these errors were encountered:
Apparently http://rawgit.com has been shut down. You can access the same dataset directly from this repo at: https://raw.githubusercontent.com/christophergandrud/networkD3/master/JSONdata/energy.json
library(networkD3) URL <- "https://raw.githubusercontent.com/christophergandrud/networkD3/master/JSONdata/energy.json" Energy <- jsonlite::fromJSON(URL) sankeyNetwork(Links = Energy$links, Nodes = Energy$nodes, Source = "source", Target = "target", Value = "value", NodeID = "name", units = "TWh", fontSize = 12, nodeWidth = 30)
Sorry, something went wrong.
Thanks very much.
No branches or pull requests
Can you please address this issue?
I've successfully run the sample code from https://rdrr.io/cran/networkD3/f/README.md up to the Sankey Diagram:
Error in is.factor(Source) : object 'Energy' not found
The text was updated successfully, but these errors were encountered: