get_apicarto_viticole: Apicarto Appellations viticoles

View source: R/get_apicarto_viticole.R

get_apicarto_viticoleR Documentation

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)

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.

Value

Object of class sf

Examples

## Not run: 
library(sf)

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

VSIG <- get_apicarto_viticole(penmarch)

## End(Not run)


happign documentation built on Sept. 11, 2024, 7:17 p.m.