Skip to content

Commit 88eeb2f

Browse files
committed
stop using release candidate API
1 parent 48f7e8f commit 88eeb2f

3 files changed

Lines changed: 12 additions & 23 deletions

File tree

‎cb_name_usage.R‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cb_name_usage = function(
22
q = NULL,
3-
key = "3LXRC",
3+
key = "3LXR",
44
verbose = FALSE
55
) {
66
# https://api.checklistbank.org/dataset/3LXRC/match/nameusage?q=Telegonus%20favilla
@@ -15,7 +15,7 @@ cb_name_usage = function(
1515
query = list(q = q, verbose = verbose)) |>
1616
httr::content(as = "text", encoding = "UTF-8") |>
1717
jsonlite::fromJSON(flatten = TRUE)
18-
18+
1919
alternatives <- tt |> purrr::pluck("alternatives") |> tibble::as_tibble()
2020
usage <- tt |> purrr::pluck("usage") |> tibble::as_tibble()
2121

‎check_functions_cb.R‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ bad_name = function(xx) {
6262

6363
missing_name = function(xx) {
6464
mn = cb_name_usage(xx$missingName)$usage
65-
65+
6666
if(nrow(mn) == 0) return("ISSUE_OPEN")
6767
if(mn$label == xx$missingName) {
6868
out = "ISSUE_CLOSED"

‎report.tsv‎

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
11
"issue" "issue_status" "issue_type"
2-
"678" "JSON-TAG-ERROR" "wrongGroup"
3-
"677" "ISSUE_OPEN" "badName"
4-
"676" "ISSUE_OPEN" "wrongGroup"
5-
"675" "ISSUE_CLOSED" "wrongGroup"
6-
"674" "ISSUE_OPEN" "nameChange"
7-
"673" "ISSUE_CLOSED" "nameChange"
8-
"672" "ISSUE_CLOSED" "wrongStatus"
9-
"671" "ISSUE_CLOSED" "ARRAY"
10-
"670" "ISSUE_CLOSED" "ARRAY"
11-
"669" "ISSUE_OPEN" "wrongStatus"
12-
"668" "ISSUE_CLOSED" "badName"
13-
"667" "ISSUE_OPEN" "nameChange"
14-
"666" "ISSUE_CLOSED" "badName"
15-
"661" "JSON-TAG-ERROR" "nameChange"
16-
"662" "ISSUE_CLOSED" "wrongStatus"
17-
"659" "ISSUE_CLOSED" "nameChange"
18-
"657" "ISSUE_CLOSED" "nameChange"
19-
"656" "ISSUE_OPEN" "nameChange"
20-
"653" "ISSUE_CLOSED" "wrongGroup"
21-
"649" "ISSUE_OPEN" "wrongStatus"
2+
"743" "ISSUE_OPEN" "ARRAY"
3+
"741" "ISSUE_CLOSED" "badName"
4+
"739" "ISSUE_OPEN" "ARRAY"
5+
"738" "JSON-TAG-ERROR" "wrongGroup"
6+
"735" "JSON-TAG-ERROR" "wrongStatus"
7+
"733" "JSON-TAG-ERROR" "nameChange"
8+
"732" "ISSUE_OPEN" "ARRAY"
9+
"731" "JSON-TAG-ERROR" "wrongGroup"
10+
"728" "ISSUE_OPEN" "missingName"

0 commit comments

Comments
 (0)