formatRepositoryList: Rename Repository Meta Columns

View source: R/01-ckan.R

formatRepositoryListR 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


Pandora documentation built on June 22, 2024, 6:48 p.m.