commune_suisse_api: Helper function to query OFS commune application

View source: R/commmune_suisse_api.R

commune_suisse_apiR Documentation

Helper function to query OFS commune application

Description

Basic function to query ofs commune app

Usage

commune_suisse_api(
  name = "",
  start_time = "01.01.2019",
  end_time = "01.01.2019",
  minDist = 0.95
)

Arguments

name,

a character string the name of the muncipality to query

start_time, end_time

a character string the start and end dates as dd.mm.yyy

minDist

minimum Levenshtein distance for string matching

See Also

https://www.agvchapp.bfs.admin.ch/fr/communes/query

Examples

## Not run: 
commune_suisse_api(name = "Morges")

## End(Not run)

d-qn/taMap documentation built on Oct. 25, 2023, 8:43 a.m.