SafeGraphInc / safegraph_py

Python code for common, repeatable data wrangling and analysis of SafeGraph data
Apache License 2.0
27 stars 15 forks source link

Updated Error Handling and Validation for merge_socialDist_by_dates function #41

Open 1Pravi opened 1 year ago

1Pravi commented 1 year ago

hi, I've made some updates to the merge_socialDist_by_dates function to enhance error handling and input validation. Now, the function validates the input dates' format and range and checks if the provided directory is accessible. It also handles cases with invalid CSV files gracefully, skipping them and continuing with other valid files.