Learn R Programming

giscoR (version 0.1.1)

gisco_attributions: Attribution when publishing GISCO data

Description

Get the legal text to be used along with the data downloaded with this package

Usage

gisco_attributions(lang = "en", copyright = FALSE)

Arguments

lang

Language (two-letter ISO_639-1 code). See details.

copyright

Boolean. Whether to display the copyright notice or not on the console.

Value

A string with the attribution to be used.

Details

Current languages supported are "en" (English), "da" (Danish), "de" (German), "es" (Spanish), "fi" (Finish), "fr" (French), "no" (Norwegian) and "sv" (Swedish).

Consider contributing if you spot any mistake or want to add a new language.

Examples

Run this code
# NOT RUN {
en <- gisco_attributions()
gisco_attributions(lang = "es", copyright = TRUE )
gisco_attributions(lang = "XXX")
# }

Run the code above in your browser using DataLab