Create a new GeoLocator Data Package shell with the GeoLocator-DP profile schema.
Arguments
- version
Optional released GeoLocator-DP version. Use
NULLfor the latest version, or set it explicitly when creating a package for an older schema such as"v0.3"or"v1.0". The legacy"main"is not accepted.- ...
Additional top-level descriptor fields, such as
title,id,contributors, orlicenses, used to initialize package metadata.
See also
read_gldp() to read an existing package, write_gldp() to write
a package to disk, and gldp_version() to inspect the package schema
version.
Examples
pkg <- create_gldp()
pkg
#>
#> ── A GeoLocator Data Package `pkg` (v1.3) ──────────────────────────────────────
#>
#> ── Metadata
#> Note: All green texts are fields of `pkg` which can be accessed with
#> `pkg$field`.
#>
#> ── Resources: (0 resources)
# Previous version
pkg <- create_gldp(version = "v0.2")
pkg
#>
#> ── A GeoLocator Data Package `pkg` (v0.2) ──────────────────────────────────────
#>
#> ── Metadata
#> Note: All green texts are fields of `pkg` which can be accessed with
#> `pkg$field`.
#>
#> ── Resources: (0 resources)
