From 9e5072d1b1911dc892323142311eb7bc304d4233 Mon Sep 17 00:00:00 2001 From: Riccardo Boero <ribo@nilu.no> Date: Wed, 9 Oct 2024 14:30:12 +0200 Subject: [PATCH] Name update --- docs/src/api.md | 4 ++-- src/FACT_population.jl | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/src/api.md b/docs/src/api.md index a390fc4..980ef25 100644 --- a/docs/src/api.md +++ b/docs/src/api.md @@ -1,11 +1,11 @@ # API Reference ```@autodocs -Modules = [FACTDataReader] +Modules = [FACT_data_API_reader] Private Order = [:function, :type] ``` ```@docs -FACTDataReader.FACTDataReader +FACT_data_API_reader.FACT_data_API_reader ``` \ No newline at end of file diff --git a/src/FACT_population.jl b/src/FACT_population.jl index 554b5a0..1eb4b3a 100644 --- a/src/FACT_population.jl +++ b/src/FACT_population.jl @@ -15,9 +15,11 @@ This function retrieves population data for specified LAUs in the European Union - `DataFrame`: A DataFrame containing columns for `geo_id` (LAU code), `region` (region identifier, always "EU"), and `population` representing the population count for the specified LAUs in the given year. # Example -> conn = MySQL.Connection(user="user", password="password", host="localhost", db="eu_population") -> selection = Dict("year" => 2011, "geo_id" => ["LAU1", "LAU2"]) -> df = eu_lau(conn, selection) +``` julia +conn = MySQL.Connection(user="user", password="password", host="localhost", db="eu_population") +selection = Dict("year" => 2011, "geo_id" => ["LAU1", "LAU2"]) +df = eu_lau(conn, selection) +``` This example retrieves population data for two EU LAUs in the year 2011. """ -- GitLab