get_datasource_id_from_name {previsionio}R Documentation

Get a datasource_id from a datasource_name If duplicated name, the first datasource_id that match it is retrieved

Description

Get a datasource_id from a datasource_name If duplicated name, the first datasource_id that match it is retrieved

Usage

get_datasource_id_from_name(project_id, datasource_name)

Arguments

project_id

id of the project, can be obtained with get_projects().

datasource_name

name of the datasource we are searching its id from. Can be obtained with get_datasources().

Value

character - id of the datasource if found.


[Package previsionio version 11.7.0 Index]