do_validate_shape: Validate shape file and return geojson for plotting.

View source: R/validate_inputs.R

do_validate_shapeR Documentation

Validate shape file and return geojson for plotting.

Description

This checks that the geojson is for a single country and that each feature has an area id associated with it.

Usage

do_validate_shape(shape)

Arguments

shape

A file object (path, hash, filename) corresponding to the input shape file.

Value

An error if invalid or the geojson if valid.


mrc-ide/hintr documentation built on May 1, 2024, 5:33 a.m.