Learn R Programming

REAT (version 3.0.2)

G.regions.industries: Firms and employment data for German regions 2015

Description

The dataset contains the industry-specific firm stock and employment in the German regions ("Bundeslaender") for 2015.

Usage

data("G.regions.industries")

Arguments

Format

A data frame with 272 observations on the following 9 variables.

year

a numeric vector containing the related year

region

a factor containing the names of the German regions (Bundeslaender)

region_code

a factor containing the codes of the German regions (Bundeslaender)

ind_code

a factor containing the codes of the industries (WZ2008)

ind_name

a factor containing the names of the industries (WZ2008)

firms

a numeric vector containing the related number of firms

emp_all

a numeric vector containing the related number of employees (incl. self-employed)

pop

a numeric vector containing the related population

area_sqkm

a numeric vector containing the related region size (in sqkm)

Examples

Run this code
# NOT RUN {
data (G.regions.industries)

lqs <- locq2(e_ij = G.regions.industries$emp_all, 
G.regions.industries$ind_code, G.regions.industries$region_code, 
LQ.output = "df")
# output as data frame

lqs_sort <- lqs[order(lqs$LQ, decreasing = TRUE),]
# Sort decreasing by size of LQ

lqs_sort[1:5,]
# }

Run the code above in your browser using DataLab