Description Usage Arguments Value Examples
Search an osf component for all modified subcomponents and files.
1 2 | osf_report_modified(id, after_date, type = "user", template = NULL,
...)
|
id |
Single osf_tbl row to search for subcomponents and files. |
after_date |
Only keep components and files modified after this date. |
type |
What type of id is used, "user" or "component". |
template |
String template for formatting results. |
... |
Additional arguments passed to walk_parent (only used if type is "component"). |
A list of osf_tbl objects that can be combined using dplyr::bind_rows
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | me <- osf_retrieve_user("aswnc")
# return tibble of modified components and files
report <- osf_report_modified("aswnc", after_date = "2019-01-01")
report
# return printed reports only
osf_report_modified("aswnc", after_date = "2019-01-01", template = osf_template$simple)
# "6sqvw" is the id for the paper "Inducing cognitive control..."
osf_report_modified("6sqvw", type = "node", after_date = "2019-01-01")
# don't report files
osf_report_modified("6sqvw", type = "node", after_date = "2019-01-01")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.