# data credits:https://github.com/pratapvardhan/NFHS-5/indicators <-read_csv("https://raw.githubusercontent.com/pratapvardhan/NFHS-5/refs/heads/master/NFHS-5-States.csv") %>%pull(indicator) %>%unique() %>%as.character() %>%sort()
Rows: 4847 Columns: 7
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
chr (3): state, state_code, indicator
dbl (4): nfhs5_urban, nfhs5_rural, nfhs5_total, nfhs4_total
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
Rows: 4847 Columns: 7
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
chr (3): state, state_code, indicator
dbl (4): nfhs5_urban, nfhs5_rural, nfhs5_total, nfhs4_total
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
# A tibble: 6 × 3
state indicator_code nfhs5_total
<chr> <chr> <dbl>
1 India ind1 71.8
2 India ind2 26.5
3 India ind3 1020
4 India ind4 929
5 India ind5 89.1
6 India ind6 70.8
Warning: `funs()` was deprecated in dplyr 0.8.0.
ℹ Please use a list of either functions or lambdas:
# Simple named list: list(mean = mean, median = median)
# Auto named with `tibble::lst()`: tibble::lst(mean, median)
# Using lambdas list(~ mean(., trim = .2), ~ median(., na.rm = TRUE))
Warning: `funs()` was deprecated in dplyr 0.8.0.
ℹ Please use a list of either functions or lambdas:
# Simple named list: list(mean = mean, median = median)
# Auto named with `tibble::lst()`: tibble::lst(mean, median)
# Using lambdas list(~ mean(., trim = .2), ~ median(., na.rm = TRUE))