R/keywords.R

Defines functions default_value language_dependant_keywords keywords_indexed_by_contvariable mandatory_keywords

mandatory_keywords <- function() {
  px_keywords %>% dplyr::filter(.data$mandatory) %>% dplyr::pull("keyword")
}

keywords_indexed_by_contvariable <- function() {
  px_keywords %>% dplyr::filter(.data$indexed_by_contvariable) %>% dplyr::pull("keyword")
}

language_dependant_keywords <- function() {
  px_keywords %>% dplyr::filter(.data$language_dependent) %>% dplyr::pull("keyword")
}

default_value <- function(keyword) {
  px_keywords %>%
    dplyr::filter(.data$keyword == !!keyword) %>%
    dplyr::pull("default_value")
}

Try the pxmake package in your browser

Any scripts or data that you put into this service are public.

pxmake documentation built on April 11, 2025, 6:06 p.m.