Skip to contents

This function reads a GeoLocator Data Package from a specified JSON file. The file should conform to the GeoLocator Data Package format. The function utilizes the frictionless package to read the package metadata and then assigns the class "geolocatordp" to the resulting object for proper identification and handling.

Usage

read_gldp(file = "datapackage.json")

Arguments

file

A string specifying the path to the JSON file containing the GeoLocator Data Package metadata. Defaults to "datapackage.json".

Value

An object of class "geolocatordp" containing the metadata from the GeoLocator Data Package.