get_datasource_id_from_name: Get a datasource_id from a datasource_name If duplicated...

View source: R/datasource.R

get_datasource_id_from_nameR 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.


previsionio documentation built on March 18, 2022, 6:41 p.m.