Query a database in Notion with desired filters and get a database as a data.frame in R or download the entire database (all pages).
Usage
getNotionDatabase(
secret,
database,
filters = NULL,
show_progress = FALSE,
all_pages = TRUE,
cover_icon = FALSE
)
Arguments
- secret
Notion API token
- database
Notion database ID. Use normalizeChromaPageIds if using directly from browser.
- filters
A list built with filter operators (see filters) to query database. If NULL will query everything.
- show_progress
show prints of progress?
- all_pages
download all pages (loop thru paginations)?
- cover_icon
also include cover and icon metadata?