README.md

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/



DSoudis/shiftshare documentation built on May 20, 2019, 2:21 p.m.