How to get notebookid programmatically using R
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2022 12:46 PM
Hi, I would like to log the notebook id programmatically in R, Is there any command that exists in R so that I can leverage to grab the notebook id, I tried with python using the below command and grab it without any issues, and looking for similar functionality in R. Any tips or thoughts?
Python code:
data = json.loads(dbutils.notebook.entry_point.getDbutils().notebook().getContext().toJson())
print(data[‘tags’][‘notebookId’])
Looking for a similar output in R.
Labels:
- Labels:
-
Python Code