Learn R Programming

dawaR (version 0.3.0)

autocomplete: Base function for interacting with autocomplete of sections.

Description

This function is very handy when needing to either validate or simply "fill in gaps" with autocompletion from the API.

Usage

autocomplete(section, input, ...)

Value

Returns the autocomplete information for the provided section

given the input.

Arguments

section

Defines what section of the api should be called. available_sections() exposes all options for this parameter.

input

The input to autocomplete. Could be a name, a place and similar.

...

<dynamic-dots> input query parameters.

Examples

Run this code
if (connection_check()) {
  autocomplete("regioner", "midt")
}

Run the code above in your browser using DataLab