@@ -16,7 +16,7 @@ include("store.jl")
1616include (" fetch.jl" )
1717include (" operations.jl" )
1818include (" setup.jl" )
19- include (" predefined_sets.jl" ) # Include the new predefined sets module
19+ # include("predefined_sets.jl") # Include the new predefined sets module
2020include (" list_all_geoids.jl" ) # Include the list_all_geoids function
2121
2222# Import and re-export from sub-modules
@@ -28,7 +28,7 @@ using .Setup
2828using . PredefinedSets
2929using . ListGeoids
3030
31- # Constants for holding pre-defined GEOID sets that will be loaded from the database
31+ Constants for holding pre- defined GEOID sets that will be loaded from the database
3232const EASTERN_US_GEOIDS_DB = String[]
3333const WESTERN_US_GEOIDS_DB = String[]
3434const SOUTH_FLORIDA_GEOIDS_DB = String[]
@@ -393,50 +393,50 @@ function restore_geoid_sets(input_file::String, overwrite::Bool=false)
393393end
394394
395395# Initialize the module
396- function __init__ ()
397- # Setup database tables if they don't exist
398- try
399- # Ensure database exists and is properly initialized with data
400- initialize_database ()
401-
402- # Initialize predefined GEOID sets in the database
403- initialize_predefined_geoid_sets ()
404-
405- # Load constants from the database
406- load_predefined_geoids ()
407- catch e
408- @warn " Error during GeoIDs initialization: $e "
409- end
410- end
396+ # function __init__()
397+ # # Setup database tables if they don't exist
398+ # try
399+ # # Ensure database exists and is properly initialized with data
400+ # initialize_database()
401+ #
402+ # # Initialize predefined GEOID sets in the database
403+ # initialize_predefined_geoid_sets()
404+ #
405+ # # Load constants from the database
406+ # load_predefined_geoids()
407+ # catch e
408+ # @warn "Error during GeoIDs initialization: $e"
409+ # end
410+ # end
411411
412412# Export functions from main module
413- export backup_geoid_sets,
413+ # export backup_geoid_sets,
414414 restore_geoid_sets,
415- EASTERN_US_GEOIDS_DB,
416- WESTERN_US_GEOIDS_DB,
417- SOUTH_FLORIDA_GEOIDS_DB,
418- MIDWEST_GEOIDS_DB,
419- MOUNTAIN_WEST_GEOIDS_DB,
420- GREAT_PLAINS_GEOIDS_DB,
421- EAST_OF_SIERRAS_GEOIDS_DB,
422- FLORIDA_GEOIDS_DB,
423- COLORADO_BASIN_GEOIDS_DB,
424- WEST_OF_100TH_GEOIDS_DB,
425- EAST_OF_100TH_GEOIDS_DB,
426- MICHIGAN_UPPER_PENINSULA_GEOIDS_DB,
427- NORTHERN_RURAL_CALIFORNIA_GEOIDS_DB,
428- SOCAL_GEOIDS_DB,
429- MISSOURI_RIVER_BASIN_DB,
430- EAST_OF_CASCADES_DB,
415+ # EASTERN_US_GEOIDS_DB,
416+ # WESTERN_US_GEOIDS_DB,
417+ # SOUTH_FLORIDA_GEOIDS_DB,
418+ # MIDWEST_GEOIDS_DB,
419+ # MOUNTAIN_WEST_GEOIDS_DB,
420+ # GREAT_PLAINS_GEOIDS_DB,
421+ # EAST_OF_SIERRAS_GEOIDS_DB,
422+ # FLORIDA_GEOIDS_DB,
423+ # COLORADO_BASIN_GEOIDS_DB,
424+ # WEST_OF_100TH_GEOIDS_DB,
425+ # EAST_OF_100TH_GEOIDS_DB,
426+ # MICHIGAN_UPPER_PENINSULA_GEOIDS_DB,
427+ # NORTHERN_RURAL_CALIFORNIA_GEOIDS_DB,
428+ # SOCAL_GEOIDS_DB,
429+ # MISSOURI_RIVER_BASIN_DB,
430+ # EAST_OF_CASCADES_DB,
431431 # Export Setup module functions
432- setup_census_schema,
433- download_county_shapefile,
434- load_counties_to_db,
435- initialize_database,
436- # Export utility functions
437- list_all_geoids,
438- which_sets,
439- create_predefined_set,
440- create_all_predefined_sets
432+ setup_census_schema,
433+ download_county_shapefile,
434+ load_counties_to_db,
435+ initialize_database,
436+ # Export utility functions
437+ list_all_geoids,
438+ which_sets,
439+ create_predefined_set,
440+ create_all_predefined_sets
441441
442442end # module GeoIDs
0 commit comments