ps_capture: Capture PlanScore Graphs

View source: R/capture.R

ps_captureR Documentation

Capture PlanScore Graphs

Description

Capture PlanScore Graphs

Usage

ps_capture(link, path)

Arguments

link

plan_url output from ps_upload() functions

path

path to save copy of graphs in, likely ending in .png

Value

path to screenshot

Examples


# often times out
url <- 'https://planscore.org/plan.html?20221127T213653.168557156Z'
tf <- tempfile(fileext = '.png')
ps_capture(url, path = tf)


planscorer documentation built on Sept. 24, 2024, 5:08 p.m.