get_all_islands | R Documentation |
Get all islands with pagination support
get_all_islands(max_pages = 10, page_size = 100)
max_pages |
Maximum number of pages to fetch (default: 10) |
page_size |
Number of islands per page (default: 100) |
A tibble with all island data
# 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
## Not run:
# Get all islands (up to 1000)
all_islands <- get_all_islands()
# Get more islands
many_islands <- get_all_islands(max_pages = 20)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.