getAvailableSources: Get available sources

View source: R/public-lib.R

getAvailableSourcesR Documentation

Get available sources

Description

Gets the list of names of available sources in database to be used later as references to the package.

Usage

getAvailableSources()

Value

sources string vector, which can be obtained from getAvailableSources()

See Also

getAvailablePolyhedra, getPolyhedron

Examples

# gets all sources in the database
available.sources <- getAvailableSources()

# returns all polyhedra from all sources
available.polyhedra <- getAvailablePolyhedra(sources = available.sources)

# search within the polyhedron names from all sources
cubes <- getAvailablePolyhedra(
  sources = available.sources,
  search.string = "cube"
)
cubes

qbotics/Rpolyhedra documentation built on Jan. 26, 2024, 1 a.m.