gie_listing: gie_listing - Load info on companies and facilities

View source: R/gie_listing.R

gie_listingR Documentation

gie_listing – Load info on companies and facilities

Description

Function to download raw or parsed results for the countries,
companies and facilities available from the AGSI+/ALSI+ API of GIE. The EIC codes
of the results can be used in turn to download the actual data
using gie_load().

Usage

gie_listing(
  region = NULL,
  country = NULL,
  facilities = FALSE,
  database = "agsi",
  apikey = Sys.getenv("GIE_APIKEY")
)

Arguments

region

Character. The broader region you want results for (can be 'Europe' or 'Non-EU').

country

Character. The country you want the results for (must be the
written-out name (e.g., "Germany"), NOT the two-digit country code).
If you use this parameter, you have to specify the 'region' parameter accordingly.

facilities

Logical. If TRUE, facility data will be added to the country or company results.
If you use this parameter, 'region' and 'country' have to be set. Defaults to FALSE.

database

Character. The type of API you want to address ('agsi' or 'alsi').

apikey

Character. Your personal API key.

Value

Data.frame with results

Examples

## Not run: 
gie_listing(region = "Europe", country = "Germany", facilities = TRUE)

## End(Not run)


gie documentation built on June 22, 2024, 9:33 a.m.