HMD.get_countries
— Methodget_countries()
Returns a Dictionary
of valid country codes.
diff --git a/dev/.documenter-siteinfo.json b/dev/.documenter-siteinfo.json index a89ba79..3e20e18 100644 --- a/dev/.documenter-siteinfo.json +++ b/dev/.documenter-siteinfo.json @@ -1 +1 @@ -{"documenter":{"julia_version":"1.6.7","generation_timestamp":"2024-01-23T08:17:31","documenter_version":"1.2.1"}} \ No newline at end of file +{"documenter":{"julia_version":"1.6.7","generation_timestamp":"2024-01-23T08:24:45","documenter_version":"1.2.1"}} \ No newline at end of file diff --git a/dev/index.html b/dev/index.html index 6f7314a..26451aa 100644 --- a/dev/index.html +++ b/dev/index.html @@ -125,4 +125,4 @@ 39999 │ 2021 109 1912.0 6.89 0.96 7.85 40000 │ 2021 109 1911.0 4.7 0.63 5.33 40001 │ 2021 110 0.0 9.13 0.68 9.81 - 39952 rows omitted
DataFrame
object for a given country, type of table, and interval.HMD.get_countries
— Methodget_countries()
Returns a Dictionary
of valid country codes.
HMD.get_tables
— Methodget_tables()
Returns a Dictionary
of valid tables.
HMD.read_HMD
— Methodread_HMD(country::String, tbl::String, grp::String, username::String, password::String; save=false)
Takes as input the country, table, interval and user credentials.
country
the country OR country code – see get_country()
for a full listtbl
the chosen table OR table code – see get_table()
for a full listgrp
one of "1x1", "1x5", "1x10" – depending on combination with tbl
username
email address when registeringpassword
password when registeringOptional:
save
a Boolean keyword to save to a CSVReturns a DataFrame
object if successful.
HMD.read_HMD
— Methodread_HMD(file_name::String)
Takes as input the location of a .txt file downloaded from https://www.mortality.org/ and stored locally
Optional:
save
a Boolean keyword to save to a CSVReturns a DataFrame
object containing the data.
Settings
This document was generated with Documenter.jl version 1.2.1 on Tuesday 23 January 2024. Using Julia version 1.6.7.