formatRepositoryList {Pandora}R Documentation

Rename Repository Meta Columns

Description

Apply names from the 'Additional Info' box from 'https://pandoradata.earth/dataset/' to the columns of returned data

Usage

formatRepositoryList(
  packageList,
  columns = getDatasetFields(),
  renameColumns = TRUE
)

Arguments

packageList

(data.frame) optional, output of callAPI() e.g. from a previous call to the Pandora API.

columns

(character) names of columns that should be returned

renameColumns

(logical) apply names from the 'Additional Info' box from 'https://pandoradata.earth/dataset/' to the columns of returned data

Value

(data.frame) containing available repositories


[Package Pandora version 24.2.0 Index]