get_more: Decide whether the given download limit has been reached

View source: R/get_more.R

get_moreR Documentation

Decide whether the given download limit has been reached

Description

\lifecycle

stable

Usage

get_more(total_count, limit)

Arguments

total_count

(int) The total count of downloaded records

limit

(int) or NULL The max count of records to download

Value

(lgl) TRUE if limit has not been reached or limit is NULL, else FALSE

See Also

Other helpers: absolute_angle(), add_dates(), datetime_as_isoweek(), datetime_as_seasonweek(), datetime_as_season(), datetime_as_turtle_date(), exclude_training_species(), exclude_training_surveys(), extract_possibly(), fdate_as_tdate(), filter_missing_site(), filter_missing_survey(), filter_surveys_missing_end(), filter_surveys_requiring_qa(), filter_wastd_season(), gj_linestring_to_st_linestring(), httpdate_as_gmt08_turtle_date(), httpdate_as_gmt08(), httpdate_as_season(), humanize(), join_tsc_sites(), leaflet_basemap(), map_chr_hack(), mean_bearing(), mis_bearing(), odkc_works(), read_table(), sentencecase(), sf_as_tbl(), tdate_as_fdate(), tracks_as_geojson(), tun(), urlize(), verify_odkc_turtledata(), verify_wamtram_data(), verify_wastd_data(), wastd_works(), wastdr_msg_abort(), wastdr_msg_info(), wastdr_msg_noop(), wastdr_msg_success(), wastdr_msg_warn(), wastdr_settings(), wastdr_setup()

Examples

testthat::expect_true(get_more(0L, NULL))
testthat::expect_true(get_more(1000L, NULL))
testthat::expect_true(get_more(9L, 10))
testthat::expect_false(get_more(10L, 10))

parksandwildlife/wastdr documentation built on Nov. 17, 2022, 4:52 p.m.