# Example showing expected output structure
mock_all_islands <- tibble::tibble(
code = c("1234-5678-9012", "2345-6789-0123"),
title = c("Island 1", "Island 2"),
page_fetched = c(1, 1)
)
# In practice, this would aggregate results from multiple API pages
if (FALSE) {
# Get all islands (up to 1000)
all_islands <- get_all_islands()
# Get more islands
many_islands <- get_all_islands(max_pages = 20)
}
Run the code above in your browser using DataLab