Skip to content

Commit fcf7fc3

Browse files
authored
Merge pull request #7 from e-kotov/6-bump-default-item-limits
set limits to 2500 in all functions
2 parents f43c132 + d2db5a4 commit fcf7fc3

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

R/data.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#' @param level A `character` string specifying the NUTS level ("0", "1", "2", or "3").
99
#' @param x_filters A `named list` where the names are the filter fields for the x variable and the values are the selected values for those fields. Default is an empty list. To find out which filters to use, use \code{\link{mi_source_filters}} with the desired `source_name`.
1010
#' @param y_filters (Optional) A `named list` where the names are the filter fields for the y variable and the values are the selected values for those fields. Default is `NULL`. To find out which filters to use, use \code{\link{mi_source_filters}} with the desired `source_name`.
11-
#' @param limit An `integer` specifying the maximum number of results to return. Default is 2000.
11+
#' @param limit An `integer` specifying the maximum number of results to return. Default is 2500.
1212
#'
1313
#' @return A `tibble` with the following columns:
1414
#'
@@ -56,7 +56,7 @@ mi_data <- function(
5656
level,
5757
x_filters = list(),
5858
y_filters = NULL,
59-
limit = 2000
59+
limit = 2500
6060
) {
6161
# Validate inputs
6262
checkmate::assert_string(x_source)

R/source-filters.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ mi_source_filters <- function(
2727
year,
2828
level,
2929
filters = list(),
30-
limit = 40
30+
limit = 2500
3131
) {
3232
# Validate inputs
3333
checkmate::assert_string(source_name)

R/sources.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
mi_sources <- function(
2828
level,
2929
year = NULL,
30-
limit = 1000
30+
limit = 2500
3131
){
3232

3333
checkmate::assert_choice(level, c("0", "1", "2", "3"))
@@ -104,7 +104,7 @@ mi_sources <- function(
104104
#' }
105105
mi_source_coverage <- function(
106106
source_name,
107-
limit = 1500
107+
limit = 2500
108108
){
109109
checkmate::assert_string(source_name)
110110

man/mi_data.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/mi_source_coverage.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/mi_source_filters.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/mi_sources.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)