Skip to content

Commit

Permalink
Update dictionary script for descriptions (#736)
Browse files Browse the repository at this point in the history
Also tweaked some things in the meta.yaml template.
  • Loading branch information
jonthegeek authored Aug 29, 2024
1 parent a6df770 commit 4396418
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion data/curated/curation_scripts.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ tt_dict <- function(x) {
tibble::tibble(variable = names(x)) |>
dplyr::mutate(
class = purrr::map(x, \(var) typeof(var)),
description = variable
description = "Describe this field in sentence case."
) |>
knitr::kable()
}
Expand Down
11 changes: 8 additions & 3 deletions data/curated/template/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,16 @@ data_source:
images:
# Please include at least one image, and up to three images
- file: FILENAME.png
alt: ALT TEXT FOR FIRST IMAGE; SHOULD SERVE AS A REPLACEMENT FOR THE IMAGE, NOT DESCRIBE THE IMAGE
alt: >
ALT TEXT FOR THIS IMAGE. THIS TEXT SHOULD BE IN "Sentence case." AND SHOULD
SERVE AS A *REPLACEMENT* FOR THE IMAGE, NOT JUST *DESCRIBE* THE IMAGE
- file: FILENAME.png
alt: ALT TEXT FOR FIRST IMAGE; SHOULD SERVE AS A REPLACEMENT FOR THE IMAGE, NOT DESCRIBE THE IMAGE
alt: >
ALT TEXT FOR THIS IMAGE. THIS TEXT SHOULD BE IN "Sentence case." AND SHOULD
SERVE AS A *REPLACEMENT* FOR THE IMAGE, NOT JUST *DESCRIBE* THE IMAGE
credit:
# If you do not want a particular type of credit, please delete the related line
# We want to thank you for curating this dataset! If you do not want a
# particular type of credit, please delete the related line.
post: YOUR NAME AND AFFILIATION FOR CREDIT IN POST
linkedin: https://www.linkedin.com/in/YOURNAME
mastodon: @YOURNAME@YOURSERVER
Expand Down

0 comments on commit 4396418

Please sign in to comment.