Learn R Programming

giscoR (version 0.3.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 code). See https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes and 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

  • "sv" - Swedish

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

Examples

Run this code
# NOT RUN {
gisco_attributions()

gisco_attributions(lang = "es", copyright = TRUE)

gisco_attributions(lang = "XXX")
# }

Run the code above in your browser using DataLab