Description Usage Arguments Value Examples
This function retrieves population data from PCDaS ElasticSearch cluster for a specified year.
1 | get_pop_age(conn, ano, agr)
|
conn |
Connection object created with |
ano |
numeric. Year. |
agg |
string. Aggregation level. 'mun' for municipalities, 'uf' for "unidades federativas" or 'regsaude' for "regiões de saúde". |
A data.frame
containing population for the aggregation level.
1 | pop_df <- get_pop_mun(conn = conn, ano = 2010, agr = "mun")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.