Closed flaneuse closed 3 years ago
To create the progress bar, we need the total number of results which can be obtained from the total
field in the object returned by the query,
{
"_scroll_id": "DnF1ZXJ5VGhlbkZldGNoAwAAAAAAlEHcFmVWUk5HRkRKUllPdmg4VkNhS1hSWncAAAAAAJRB3hZlVlJOR0ZESlJZT3ZoOFZDYUtYUlp3AAAAAACUQd0WZVZSTkdGREpSWU92aDhWQ2FLWFJadw==",
"took": 180,
"total": 13312,
"max_score": 3.9468555
...
}
Call:
county_df=getAdmn2ByCountry()
144 records retrieved
; do you actually mean 14,400 records? Would suggest changing language to either something like "query" or multiplying by 1000.progress
package: https://dplyr.tidyverse.org/reference/progress_estimated.html