Learn R Programming

EconGeo

"EconGeo" is the first R package to propose user-friendly functions to compute a series of indices commonly used in Economic Geography and Economic Complexity

Copy Link

Version

Install

install.packages('EconGeo')

Monthly Downloads

303

Version

2.0

License

GPL-2 | GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Pierre-Alexandre Balland

Last Published

June 26th, 2023

Functions in EconGeo (2.0)

get_list

Create regular data frames from regions - industries matrices
entry_list

Generate a data frame of entry events from multiple regions - industries matrices (same matrix composition for the different periods)
hoover_index

Compute the Hoover index
entry_mat

Generate a matrix of entry events from two regions - industries matrices (same matrix composition from two different periods)
inv_norm_ubiquity

Compute a measure of complexity from the inverse of the normalized ubiquity of industries
norm_ubiquity

Compute a measure of complexity by normalizing ubiquity of industries
kci

Compute an index of knowledge complexity of regions using the eigenvector method
krugman_index

Compute the Krugman index from regions - industries matrices
prody

Compute the prody index of industries from regions - industries matrices
ease_recombination

Compute the ease of recombination of a given technological class
entropy

Compute the Shannon entropy index from regions - industries matrices
hachman

Compute the Hachman index from regions - industries matrices
growth_list_reg

Generate a data frame of region growth from multiple regions - industries matrices (same matrix composition for the different periods)
relatedness_density_ext_avg

Compute the average relatedness density of regions to industries that are not part of the regional portfolio from regions - industries matrices and industries - industries matrices
lorenz_curve

Plot a Lorenz curve from regional industrial counts
rca

Compute an index of revealed comparative advantage (RCA) from regions - industries matrices
tci

Compute an index of knowledge complexity of industries using the eigenvector method
location_quotient

Compute location quotients from regions - industries matrices
relatedness_density_int

Compute the relatedness density between regions and industries that are part of the regional portfolio from regions - industries matrices and industries - industries matrices
relatedness

Compute the relatedness between entities (industries, technologies, ...) from their co-occurence matrix
ubiquity

Compute a simple measure of ubiquity of industries
growth_reg

Generate a matrix of industrial growth by regions from two regions - industries matrices (same matrix composition from two different periods)
herfindahl

Compute the Herfindahl index from regions - industries matrices
growth_mat

Generate a matrix of industrial growth in regions from two regions - industries matrices (same matrix composition from two different periods)
match_mat

Re-arrange the dimension of a matrix based on the dimension of another matrix
hoover_curve

Plot a Hoover curve from regions - industries matrices
hoover_gini

Compute the Hoover Gini
modular_complexity

Compute a measure of modular complexity of patent documents
relatedness_density

Compute the relatedness density between regions and industries from regions - industries matrices and industries - industries matrices
modular_complexity_avg

Compute a measure of average modular complexity of technologies
relatedness_density_ext

Compute the relatedness density between regions and industries that are not part of the regional portfolio from regions - industries matrices and industries - industries matrices
spec_coeff

Compute the Hoover coefficient of specialization from regions - industries matrices
relatedness_density_int_avg

Compute the average relatedness density within the regional portfolio from regions - industries matrices and industries - industries matrices
location_quotient_avg

Compute average location quotients of regions from regions - industries matrices
exit_list

Generate a data frame of exit events from multiple regions - industries matrices (same matrix composition for the different periods)
exit_mat

Generate a matrix of exit events from two regions - industries matrices (same matrix composition from two different periods)
growth_ind

Generate a matrix of industrial growth by industries from two regions - industries matrices (same matrix composition from two different periods)
growth_list

Generate a data frame of industrial growth in regions from multiple regions - industries matrices (same matrix composition for the different periods)
locational_gini_curve

Plot a locational Gini curve from regions - industries matrices
morc

Compute an index of knowledge complexity of regions using the method of reflection
locational_gini

Compute the locational Gini coefficient from regions - industries matrices
mort

Compute an index of knowledge complexity of industries using the method of reflection
weighted_avg

Compute a weighted average of regions or industries from regions - industries matrices
z_score

Compute the z-score between technologies from an incidence matrix
expy

Compute the expy index of regions from regions - industries matrices
diversity

Compute a simple measure of diversity of regions
co_occurrence

Compute the number of co-occurrences between industry pairs from an incidence (industry - event) matrix
growth_list_ind

Generate a data frame of industrial growth in regions from multiple regions - industries matrices (same matrix composition for the different periods)
get_matrix

Create regions - industries matrices from regular data frames
gini

Compute the Gini coefficient