read_fude {fude}R Documentation

Read a Fude Polygon ZIP file

Description

read_fude() reads Fude Polygon data as a list. The data can be downloaded from the MAFF website as a ZIP file, which contains one or more GeoJSON format files. The function should also work with the ZIP file you created, as long as you do not change the filenames of the original GeoJSON files.

Usage

read_fude(path, stringsAsFactors = TRUE, quiet = FALSE)

Arguments

path

Path to the ZIP file containing one or more GeoJSON format files.

stringsAsFactors

logical. should character vectors be converted to factors?

quiet

logical. Suppress information about the data to be read.

Value

A list of sf::sf() objects.

Examples

path <- system.file("extdata", "castle.zip", package = "fude")
d <- read_fude(path, stringsAsFactors = FALSE)


[Package fude version 0.3.5 Index]