lhenneman / disperseR

New version of the hyspdisp package
4 stars 6 forks source link

counties data #17

Closed schoolAccountMajaG closed 5 years ago

schoolAccountMajaG commented 5 years ago

@lhenneman made new functions for hyspdisp that should be integrated in disperseR. Think about solutions to make less functions.

https://github.com/lhenneman/hyspdisp/blob/dev2/R/hyspdisp_county_link.R Here's linking to a grid: https://github.com/lhenneman/hyspdisp/blob/dev2/R/hyspdisp_grid_link.R

Here's combining counties: https://github.com/lhenneman/hyspdisp/blob/dev2/R/combine_monthly_countylinks.R Here's combining grid: https://github.com/lhenneman/hyspdisp/blob/dev2/R/combine_monthly_gridlinks.R

Here's calculating county exposure: https://github.com/lhenneman/hyspdisp/blob/dev2/R/calc_county_exposure.R Here's calculating grid exposure: https://github.com/lhenneman/hyspdisp/blob/dev2/R/calc_grid_exposure.R

lhenneman commented 5 years ago

solved, introduced the link.to option in functions that can be applied to counties and grids