gie_getnews {gie}R Documentation

gie_getnews – Get AGSI+/ALSI+ news

Description

A function that conveniently outputs all 'News' items published by GIE with regards to AGSI+ or ALSI+ platforms

Usage

gie_getnews(database, html_parsed = FALSE, apikey = Sys.getenv("GIE_APIKEY"))

Arguments

database

Character. The data base for which the 'News' items should be returned ('agsi' or 'alsi').

html_parsed

Logical. Some of the columns in the resulting data.frame might contain HTML
tags and other encodings. If set to 'TRUE', this parameter will result in the respective column
values being decoded so there are no HTML residuals left. This requires the 'rvest' package to be installed and loaded.
Defaults to 'FALSE'.

apikey

Character. Your personal API key.

Value

A data.frame with all the news for the respective data base.

Examples

## Not run: 
news <- gie_getnews(database = "alsi", html_parsed = TRUE)

## End(Not run)


[Package gie version 0.1.2 Index]