Learn R Programming

happign (version 0.3.3)

get_apicarto_viticole: Apicarto Appellations viticoles

Description

Implementation of the "Appellations viticoles" module from the IGN's apicarto. The module uses a database maintained by FranceAgriMer. This database includes : appellation d'origine contrôlée (AOC) areas, protected geographical indication areas (IGP) and wine growing areas without geographical indications (VSIG)

Usage

get_apicarto_viticole(x,
                      dTolerance = 0)

Value

Object of class sf

Arguments

x

Object of class sf. Needs to be located in France.

dTolerance

numeric; tolerance parameter. The value of dTolerance must be specified in meters, see ?sf::st_simplify for more info.

Details

/!\ For the moment the API cannot returned more than 1000 features.

Examples

Run this code
if (FALSE) {
library(sf)

penmarch <- read_sf(system.file("extdata/penmarch.shp", package = "happign"))

VSIG <- get_apicarto_viticole(penmarch)
}

Run the code above in your browser using DataLab