| epList | R Documentation |
epList returns a list with info on objects available in enviPath.
epList(type, pkg = NULL)
type |
|
pkg |
|
A data frame with all objects belonging to type in pkg.
if( is_active ){
# Perform login with your credentials
epLogin(username, password)
# List packages
pkg_df <- epList("package")
# Select reviewed packages
to_keep <- pkg_df$reviewStatus == "reviewed"
pkg_df <- pkg_df[to_keep, ]
# Remove lengthy description
pkg_df$description <- NULL
# View some packages
head(pkg_df)
# Select desired package
pkg_name <- "EAWAG-BBD"
pkg_id <- pkg_df$id[pkg_df$name == pkg_name]
# List pathways from desired package
path_df <- epList("pathway", pkg = pkg_id)
# View some pathways
head(path_df)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.