diff --git a/docs/src/api.md b/docs/src/api.md index a390fc4794aa86b5166514b074c1c5b854103ea6..980ef25ddcf3b5ac052a91c6b96124a5f6ddd0a0 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 554b5a06a617f4d2f33ec241e8425af87793b6c3..1eb4b3a911ee2bdc78f21da427d03a749829d5eb 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. """