Package: inedemogR 0.2.1

inedemogR: Tidy Access to Spanish INE Demographic Data

Provides tidy, harmonized access to demographic data from the Spanish National Statistics Institute (INE) fenomenos demograficos domain, including population, births, and deaths, retrieved live via the official 'ineapir' API wrapper, with optional spatial integration at municipality and province level via 'mapSpain'. Mortality indicators follow the Human Mortality Database Methods Protocol, including the average age at death in infancy method of Andreev and Kingkade (2015) <doi:10.4054/DemRes.2015.33.13>.

Authors:J. R. Caro-Barrera [aut, cre, cph]

inedemogR_0.2.1.tar.gz
inedemogR_0.2.1.zip(r-4.7-any)inedemogR_0.2.1.zip(r-4.6-any)inedemogR_0.2.1.zip(r-4.5-any)
inedemogR_0.2.1.tgz(r-4.6-any)inedemogR_0.2.1.tgz(r-4.5-any)
inedemogR_0.2.1.tar.gz(r-4.7-any)inedemogR_0.2.1.tar.gz(r-4.6-any)
inedemogR_0.2.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
inedemogR/json (API)

# Install 'inedemogR' in R:
install.packages('inedemogR', repos = c('https://jrcarob.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jrcarob/inedemogr/issues

Datasets:

On CRAN:

Conda:

demographyine

3.18 score 430 downloads 48 exports 91 dependencies

Last updated from:24abc5b21f. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develNOTE151
source / vignettesOK211
linux-releaseNOTE179
macos-releaseNOTE181
macos-oldrelNOTE185
windows-develNOTE98
windows-releaseNOTE81
windows-oldrelNOTE103
wasm-releaseOK150

Exports:age_dependency_ratioage_specific_fertility_rateaging_indexandreev_kingkade_a0birth_death_ratiobuild_abridged_life_tablebuild_abridged_life_tablesbuild_life_tablebuild_life_tablescompute_death_ratescompute_exposurecrude_birth_ratecrude_death_ratedecompose_life_expectancydownload_ine_datageneral_fertility_rateget_ine_birthsget_ine_births_by_ageget_ine_deathsget_ine_demogget_ine_geoget_ine_populationgross_reproduction_rateinfant_mortality_ratelife_expectancylife_expectancy_summarylist_ine_indicatorsmap_indicatormap_life_expectancymean_age_at_childbearingnet_reproduction_rateplot_demog_trendplot_ine_mapplot_lexis_diagramplot_population_pyramidrate_of_natural_increasesex_ratiototal_fertility_rateupdate_ine_datavalidate_abridged_life_tablevalidate_birthsvalidate_births_by_agevalidate_death_ratesvalidate_deathsvalidate_deaths_agevalidate_exposurevalidate_life_tablevalidate_population

Dependencies:askpassbase64encbitbit64bslibcachemclassclassIntclicliprcountrycodecpp11crayoncrosstalkcurlDBIdigestdplyre1071evaluatefarverfastmapfontawesomefsgenericsggplot2giscoRgluegtablehighrhmshtmltoolshtmlwidgetshttrhttr2ineapirisobandjquerylibjsonliteKernSmoothknitrlabelinglatticelazyevalleafletleaflet.providerslifecyclemagrittrmapSpainmemoisemimeopensslpillarpkgconfigpngprettyunitsprogressproxypurrrR6rappdirsrasterRColorBrewerRcppreadrrlangrmarkdowns2S7sassscalessfspstringistringrsysterratibbletidyrtidyselecttinytextzdbunitsutf8vctrsviridisLitevroomwithrwkxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Age dependency ratiosage_dependency_ratio
Age-specific fertility rates (ASFR)age_specific_fertility_rate
Aging indexaging_index
Andreev-Kingkade a0 (mean age at death in the first year of life)andreev_kingkade_a0
Birth-to-death ratiobirth_death_ratio
Build an abridged (5-year age group) period life tablebuild_abridged_life_table
Build abridged period life tables for every provincebuild_abridged_life_tables
Build a period life table from a mortality schedulebuild_life_table
Build period life tables for every provincebuild_life_tables
Compute central death rates for every provincecompute_death_rates
Compute exposure-to-risk for every provincecompute_exposure
Crude birth ratecrude_birth_rate
Crude death ratecrude_death_rate
Decompose a difference in life expectancy at birth by agedecompose_life_expectancy
Download SHMD pipeline data to a local folderdownload_ine_data
General fertility rategeneral_fertility_rate
Retrieve province-level birthsget_ine_births
Retrieve province-level births by age of motherget_ine_births_by_age
Retrieve province-level deathsget_ine_deaths
Get INE Demographic Dataget_ine_demog
Get INE Geographic Dataget_ine_geo
Retrieve province-level population by age and sexget_ine_population
Gross reproduction rate (GRR)gross_reproduction_rate
INE demographic indicator reference tableine_variables
Infant mortality rateinfant_mortality_rate
Life expectancy at birth and at age 65, for one provincelife_expectancy
Life expectancy summarylife_expectancy_summary
List Available INE Indicatorslist_ine_indicators
Map any indicator by province or municipalitymap_indicator
Map life expectancy by provincemap_life_expectancy
Mean age at childbearing (MAC)mean_age_at_childbearing
Net reproduction rate (NRR)net_reproduction_rate
Plot a demographic indicator trend over timeplot_demog_trend
Plot a Map of Spain with Regions Highlightedplot_ine_map
Calculate and plot a Lexis diagram for one provinceplot_lexis_diagram
Plot a population pyramidplot_population_pyramid
Rate of natural increaserate_of_natural_increase
Sex ratiosex_ratio
Total fertility rate (TFR)total_fertility_rate
Update INE Dataupdate_ine_data
Validate a constructed abridged life tablevalidate_abridged_life_table
Validate cleaned provincial birth datavalidate_births
Validate cleaned age-of-mother birth datavalidate_births_by_age
Validate computed central death ratesvalidate_death_rates
Validate cleaned provincial death datavalidate_deaths
Validate cleaned age-specific provincial death datavalidate_deaths_age
Validate computed exposure-to-risk valuesvalidate_exposure
Validate a constructed life tablevalidate_life_table
Validate cleaned provincial population datavalidate_population