Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

sdk$runInlineQuery inequality conditions #34

@tynesjo

Description

@tynesjo

when the runInlineQuery method of the lookr package SDK object is called then,
if you use a filters argument as a list of the form:
list(variable=condition, variable2=condition2)

where each condition is a string such as ">0",
then each condition ends up being sent to the API as a single-item array (e.g. [">0"]) and not as a string variable ">0", which I believe is not consistent with the API spec.

I applied a patch to fix this to a fork of the package
in the file LookerSDK.R
"filters = filters," -> " filters = lapply(filters, jsonlite::unbox),"

feel free to let me know if the usage of the method is intended to be as described and the fix makes sense, in which case I'd be happy to create a pull request

Thanks for a great package ! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions