This commit is contained in:
Aaron Po
2026-07-17 02:34:49 -04:00
parent 924e736130
commit 5a8a9f4652
4 changed files with 4 additions and 3 deletions

View File

@@ -87,7 +87,7 @@ class BiergartenPipelineOrchestrator {
* @return Vector of locations randomly sampled per * @return Vector of locations randomly sampled per
* PipelineOptions::location_count. * PipelineOptions::location_count.
*/ */
std::vector<Location> QueryCitiesWithCountries(); std::vector<Location> QueryLocations();
/** /**
* @brief Generate breweries for enriched cities. * @brief Generate breweries for enriched cities.

View File

@@ -31,6 +31,7 @@ namespace prog_opts = boost::program_options;
struct Location { struct Location {
std::string city{}; std::string city{};
std::string state_province{}; std::string state_province{};
std::string postal_code{};
/** /**
* @brief ISO 3166-2 subdivision code. * @brief ISO 3166-2 subdivision code.

View File

@@ -15,7 +15,7 @@
#include "services/logging/logger.h" #include "services/logging/logger.h"
std::vector<Location> std::vector<Location>
BiergartenPipelineOrchestrator::QueryCitiesWithCountries() { BiergartenPipelineOrchestrator::QueryLocations() {
logger_->Log({.level = LogLevel::Info, logger_->Log({.level = LogLevel::Info,
.phase = PipelinePhase::Startup, .phase = PipelinePhase::Startup,
.message = "=== GEOGRAPHIC DATA OVERVIEW ==="}); .message = "=== GEOGRAPHIC DATA OVERVIEW ==="});

View File

@@ -14,7 +14,7 @@ bool BiergartenPipelineOrchestrator::Run() {
try { try {
exporter_->Initialize(); exporter_->Initialize();
std::vector<Location> cities = QueryCitiesWithCountries(); std::vector<Location> cities = QueryLocations();
std::vector<EnrichedCity> enriched; std::vector<EnrichedCity> enriched;
enriched.reserve(cities.size()); enriched.reserve(cities.size());