R/keywords.R

Defines functions default_value language_dependant_keywords keywords_indexed_by_contvariable mandatory_keywords

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

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

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

default_value <- function(keyword) {
  pxmake::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 Dec. 16, 2025, 5:08 p.m.