CodeForPittsburgh / food-access-map-data

Data for the food access map
MIT License
8 stars 18 forks source link

Modularize merge_duplicates and add test functions and test data #70

Closed maxachis closed 3 years ago

maxachis commented 3 years ago

Remove merge_duplicates.R and replace with merge_duplicates_functions.R, which contains main functions for merge_duplicates, and auto_merge_duplicates.R, which is a wrapper for cmd line pipelining.

Add 2 additional tests to 'test-merge-duplicates.R' (previously erroneously named as 'test-merge-data.R') and removed test for prior non-modularized version of merge_duplicates.R

Add test-data folder, which contains csv files indicating both the input and the expected output of tests. Either can be loaded by tests.