Skip to contents

Internal function used to fetch the available ecosystems in the OSV API.

Usage

fetch_ecosystems(offline = FALSE, refresh = FALSE)

Arguments

offline

Boolean, determine if using list bundled with package.

refresh

Boolean, force refresh of cache when using online list.

Value

A data.frame containing all the ecosystem names available in the OSV database.

Details

The refresh parameter can be used to force the data to be pulled again even if one is available in the cached location. Since a fresh pull is performed for each R session, it is unlikely that this parameter is required and is primarily reserved for future use if functionality necessitates.

See also