R/isEmptyNotionDatabaseExport.R

Defines functions isEmptyNotionDatabaseExport

Documented in isEmptyNotionDatabaseExport

#' Is the database output empty ?
#'
#' @param dataframe The database output
#' @return vector
#'
#' @export
isEmptyNotionDatabaseExport <- function(dataframe){
  isTRUE(nrow(dataframe) == 1 &
       names(dataframe)[1] == "results" &
       dataframe[1,1] == "none")
}

Try the notionR package in your browser

Any scripts or data that you put into this service are public.

notionR documentation built on June 25, 2025, 1:08 a.m.