0

我正在使用一个闪亮的应用程序来读取 pin 中的数据。我想获取创建 pin 的日期,并且能够找到这个有用的函数“pin_info”。

下面是我找到的一个例子......所以我的问题是:我怎样才能抓住下面“扩展:”部分下的“created_time”?

非常感谢!

pin_info("mtcars", board = "rsconnect")
# Source: rsconnect<jluraschi/mtcars> [table]
# Extended:
#   - id: 5639
#   - guid: 9b6ae382-ebec-45de-8546-ee779e33ed10
#   - access_type: acl
#   - url: https://beta.rstudioconnect.com/content/5639/
#   - vanity_url: FALSE
#   - bundle_id: 13400
#   - app_mode: 4
#   - content_category: pin
#   - has_parameters: FALSE
#   - created_time: 2019-08-21T02:22:56.546011Z
#   - last_deployed_time: 2019-08-23T15:55:25.435595Z
#   - build_status: 2
#   - run_as_current_user: FALSE
#   - owner_first_name: Javier
#   - owner_last_name: Luraschi
#   - owner_username: jluraschi
#   - owner_guid: ac498f34-174c-408f-8089-a9f10c630a37
#   - owner_locked: FALSE
#   - is_scheduled: FALSE
#   - rows: 14
#   - cols: 11
4

1 回答 1

0
pin_info("mtcars", board = "rsconnect")$created_time
于 2022-01-14T17:48:55.517 回答