Learn R Programming

eurostat (version 3.7.5)

get_bibentry: Create A Data Bibliography

Description

Creates a bibliography from selected Eurostat data files, including last Eurostat update, URL access data, and optional keywords set by the user.

Usage

get_bibentry(code, keywords = NULL, format = "Biblatex")

Arguments

code

A Eurostat data code or a vector of Eurostat data codes as character or factor.

keywords

A list of keywords to be added to the entries. Defaults to NULL.

format

Default is 'Biblatex', alternatives are 'bibentry' or 'Bibtex' (not case sensitive.)

Value

a bibentry, Bibtex or Biblatex object.

Examples

Run this code
# NOT RUN {
 
# }
# NOT RUN {
   my_bibliography <- get_bibentry (
        code = c("tran_hv_frtra", "t2020_rk310","tec00001") ,
        keywords = list ( c("railways", "freight", "transport"),
                          c("railways", "passengers", "modal split") ),
        format = "Biblatex" )
        
   # readLines ( my_bibliograhy, "eurostat_data.bib")
 
# }
# NOT RUN {
 
# }

Run the code above in your browser using DataLab