Skip to contents

Find available indicator code names in the Wittgenstein Centre Human Capital Data Explorer

Usage

find_indicator(x)

Arguments

x

Character string on key word or name related to indicator of potential interest.

Value

A subset of the wic_indicators data frame with one or more of the indicator, description or definition columns matching the keyword given to x. Use the result in the indicator column to input to the get_wcde function for downloading data.

Examples

find_indicator("education")
#> # A tibble: 11 × 6
#>    indicator description                         wcde-…¹ wcde-…² wcde-…³ defin…⁴
#>    <chr>     <chr>                               <chr>   <chr>   <chr>   <chr>  
#>  1 bpop      Population Size by Broad Age (000'… projec… past-a… past-a… De fac…
#>  2 bprop     Educational Attainment Distributio… projec… past-a… past-a… De fac…
#>  3 easfr     Age-Specific Fertility Rate by Edu… projec… projec… NA      Number…
#>  4 eassr     Age-Specific Survival Ratio by Edu… projec… projec… projec… Surviv…
#>  5 emacb     Mean Age at Childbearing by Educat… projec… NA      NA      The me…
#>  6 epop      Population Size by Education (000'… projec… past-a… past-a… De fac…
#>  7 etfr      Total Fertility Rate by Education   projec… projec… projec… The av…
#>  8 ggapedu15 Gender Gap in Educational Attainme… projec… past-a… past-a… The di…
#>  9 ggapedu25 Gender Gap in Educational Attainme… projec… past-a… past-a… The di…
#> 10 netedu    Net Migration Flows by Education    projec… NA      NA      The nu…
#> 11 prop      Educational Attainment Distribution projec… past-a… past-a… De fac…
#> # … with abbreviated variable names ¹​`wcde-v3`, ²​`wcde-v2`, ³​`wcde-v1`,
#> #   ⁴​definition_latest
find_indicator("migr")
#> # A tibble: 4 × 6
#>   indicator description                      `wcde-v3`   wcde-…¹ wcde-…² defin…³
#>   <chr>     <chr>                            <chr>       <chr>   <chr>   <chr>  
#> 1 emi       Emigration Flows                 projection… NA      NA      The nu…
#> 2 imm       Immigration Flows                projection… NA      NA      The nu…
#> 3 net       Net Migration Flows              projection… past-a… past-a… The nu…
#> 4 netedu    Net Migration Flows by Education projection… NA      NA      The nu…
#> # … with abbreviated variable names ¹​`wcde-v2`, ²​`wcde-v1`, ³​definition_latest
find_indicator("fert")
#> # A tibble: 4 × 6
#>   indicator description                          wcde-…¹ wcde-…² wcde-…³ defin…⁴
#>   <chr>     <chr>                                <chr>   <chr>   <chr>   <chr>  
#> 1 asfr      Age-Specific Fertility Rate          projec… past-a… past-a… Number…
#> 2 easfr     Age-Specific Fertility Rate by Educ… projec… projec… NA      Number…
#> 3 etfr      Total Fertility Rate by Education    projec… projec… projec… The av…
#> 4 tfr       Total Fertility Rate                 projec… past-a… past-a… The av…
#> # … with abbreviated variable names ¹​`wcde-v3`, ²​`wcde-v2`, ³​`wcde-v1`,
#> #   ⁴​definition_latest