Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert SAS scripts to R or Python #49

Open
nmpeterson opened this issue Jul 18, 2014 · 3 comments
Open

Convert SAS scripts to R or Python #49

nmpeterson opened this issue Jul 18, 2014 · 3 comments
Assignees

Comments

@nmpeterson
Copy link
Contributor

Currently, most of the MHN processing tools rely on one or more SAS scripts. In the interest of making the code useful to as many people as possible (and, frankly, to get away from the awful SAS language itself), those scripts should be converted to a language that can be interpreted by common, free software -- either R or pure Python, depending on the script.

Of course, all of the scripts still require an ArcGIS license...

@nmpeterson nmpeterson self-assigned this Jul 18, 2014
@nmpeterson
Copy link
Contributor Author

generate_transit_files_3.sas has been rewritten in Python -- the generate_rail_pnt_files() function in generate_transit_files.py -- see #54. (generate_transit_file_4.sas was subsequently renamed _3 -- #55.)

@nmpeterson
Copy link
Contributor Author

update_highway_project_years_2.sas has been rewritten in Python -- the clear_transit_project_years() and get_trans_proj_scens() functions in update_highway_project_years.py duplicate the functionality of the old SAS script. See #58.

@nmpeterson
Copy link
Contributor Author

If for any reason this effort is abandoned, there is now a Python package called "SASPy" -- developed by SAS for smoother python integration, which may be worth looking into.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant