generated from CorrelAid/r-bare-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dev # Conflicts: # .Rbuildignore # DESCRIPTION # NEWS.md # R/data.R # R/gen_alternative_terms.R # R/gen_api.R # R/gen_auth.R # R/gen_catalogue.R # R/gen_cube.R # R/gen_find.R # R/gen_list_jobs.R # R/gen_meta_data.R # R/gen_modified_data.R # R/gen_objects2stat.R # R/gen_objects2var.R # R/gen_table.R # R/gen_var2-val2.R # R/utils.R # R/zzz.R # cran-comments.md # man/evas_list.Rd # man/gen_alternative_terms.Rd # man/gen_auth_save.Rd # man/gen_catalogue.Rd # man/gen_cube.Rd # man/gen_find.Rd # man/gen_list_jobs.Rd # man/gen_metadata.Rd # man/gen_metadata_cube.Rd # man/gen_metadata_stats.Rd # man/gen_metadata_tab.Rd # man/gen_metadata_val.Rd # man/gen_metadata_var.Rd # man/gen_modified_data.Rd # man/gen_objects2stat.Rd # man/gen_objects2var.Rd # man/gen_search_vars.Rd # man/gen_table.Rd # man/gen_val2var.Rd # man/gen_val2var2stat.Rd # man/gen_var2stat.Rd
- Loading branch information
Showing
39 changed files
with
1,349 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,7 @@ | |
^pkgdown$ | ||
^codecov\.yml$ | ||
^cran-comments\.md$ | ||
<<<<<<< HEAD | ||
======= | ||
^CRAN-SUBMISSION$ | ||
>>>>>>> main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Version: 0.1.0 | ||
Date: 2023-06-28 10:04:36 UTC | ||
SHA: e4b477312427801d3b3cf03fdce906e6c1163b14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
Package: restatis | ||
Title: R Wrapper to Access a Wide Range of Germany's Federal Statistical System Databases Based on the GENESIS Web Service RESTful API of the German Federal Statistical Office (Statistisches Bundesamt/Destatis) | ||
Title: R Wrapper to Access a Wide Range of Germany's Federal Statistical System | ||
Databases Based on the GENESIS Web Service RESTful API of the German Federal | ||
Statistical Office (Statistisches Bundesamt/Destatis) | ||
Version: 0.2.0 | ||
Authors@R: c( | ||
person("Yannik", "Buhl", , "[email protected]", role = c("aut", "cre")), | ||
|
@@ -8,22 +10,25 @@ Authors@R: c( | |
person("Dorian", "Le Jeune", role = "aut"), | ||
person("Long", "Nguyen", , "[email protected]", role = "aut", | ||
comment = c(ORCID = "0000-0001-8878-7386")), | ||
person("Johannes", "Ritter", role = "aut") | ||
person("Johannes", "Ritter", , "[email protected]", role = "aut") | ||
) | ||
Description: A RESTful API wrapper for accessing the GENESIS database of | ||
the German Federal Statistical Office (Destatis) as well as its Census | ||
Database and the database of Germany's regional statistics. Supports data | ||
search functions, credential management, result caching, and handling | ||
remote background jobs for large datasets. | ||
License: MIT + file LICENSE | ||
URL: https://correlaid.github.io/restatis/ | ||
URL: https://correlaid.github.io/restatis/, | ||
https://github.com/CorrelAid/restatis | ||
BugReports: https://github.com/CorrelAid/restatis/issues | ||
Depends: | ||
R (>= 2.10) | ||
Imports: | ||
askpass, | ||
httr2, | ||
memoise, | ||
readr, | ||
stats, | ||
tibble, | ||
vctrs, | ||
purrr | ||
|
@@ -34,6 +39,8 @@ Suggests: | |
rmarkdown, | ||
testthat (>= 3.0.0), | ||
rvest | ||
usethis, | ||
withr | ||
VignetteBuilder: | ||
knitr | ||
Config/testthat/edition: 3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#' Search for Current Jobs of Your User Account | ||
#' | ||
#' @description Function to list all current jobs connected to the given user. | ||
#' | ||
#' @param selection Filter the list of jobs for matching codes. | ||
#' @param sortcriterion Allows to sort the resulting list of jobs by their Code ("content"), the time of completion ("time") or status ("status") | ||
#' @param ... Additional parameter of the GENESIS API call. These parameters are only affecting the GENESIS API call itself, no further processing. | ||
#' | ||
#' @return A list of all current jobs connected to the given user. | ||
#' @export | ||
#' | ||
gen_list_jobs <- function(selection = NULL, | ||
sortcriterion = c("content", "time", "status"), | ||
...) { | ||
results_raw <- gen_api("catalogue/jobs", | ||
selection = selection, | ||
sortcriterion = sortcriterion, | ||
... | ||
) | ||
|
||
results_json <- test_if_json(results_raw) | ||
|
||
return(results_json) | ||
} |
Oops, something went wrong.