Skip to content

Type closure error in api.R #15

@flixi67

Description

@flixi67

Windows machine,
Caused by error in dplyr::mutate() at C:\Users\felix\Documents\GIT\CorrelAid\silbernetz-public-1\R\api.R:113:3: ℹ In argument: date = lubridate::ymd(date). Caused by error in as.character(): ! cannot coerce type 'closure' to vector of type 'character'

my usual type closure fixes didnt work (checked for dplyr 1.1.2 syntax), e.g.
Warning: Error in map2: ℹ In index: 1. Caused by error in dplyr::mutate() at C:\Users\felix\Documents\GIT\CorrelAid\silbernetz-public-1\R\api.R:113:3: ℹ In argument: date = lubridate::ymd(.data$date). Caused by error in .data$date: ! Column date not found in .data. 1: runApp

same issue for time variable. i am guessing either the API output is not consistent or selecting which are "count" endpoints.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions