Skip to content

A package to perform Shift Share Analysis in R

Notifications You must be signed in to change notification settings

DSoudis/shiftshare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shiftshare

The package contains two functions, namely ssa and dssa, that perform simple and dynamic shift share analysis. This is a first working version so errors might occur. Comments are welcome!

Installation

devtools::install_github("DSoudis/shiftshare")

Usage

library(shiftshare)
data('usregions')
my.ssa <- ssa(usregions, y.var = 'TOT_EMP' ,region.var = 'ST', sector.var = 'OCC_TITLE',
              gregion.id = 'US', year.var = 'Year', sector.id = 'All Occupations',
              start.year = 2013, end.year = 2015)

A worked out example can be found here http://dsoudis.netlify.com/post/shiftshare/

About

A package to perform Shift Share Analysis in R

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages