diff --git a/pngs/factors.png b/pngs/factors.png
index 2c6cb84c..d13d0e3f 100644
Binary files a/pngs/factors.png and b/pngs/factors.png differ
diff --git a/search.json b/search.json
index 343b2227..e1b5ef3a 100644
--- a/search.json
+++ b/search.json
@@ -522,7 +522,7 @@
"href": "html/factors.html",
"title": "Factors with forcats :: Cheatsheet",
"section": "",
- "text": "Download PDF\n\n \n\nTranslations (PDF)\n\n\nJapanese\nSpanish\nThe forcats package provides tools for working with factors, which are R’s data structure for categorical data.\nlibrary(forcats)"
+ "text": "Download PDF\n\n \n\nTranslations (PDF)\n\n\nJapanese\nPortuguese\nSpanish\nThe forcats package provides tools for working with factors, which are R’s data structure for categorical data.\nlibrary(forcats)"
},
{
"objectID": "html/factors.html#factors",
@@ -564,7 +564,7 @@
"href": "html/factors.html#add-or-drop-levels",
"title": "Factors with forcats :: Cheatsheet",
"section": "Add or drop levels",
- "text": "Add or drop levels\n\nfct_drop(f, only): Drop unused levels.\n\nf5 <- factor(c(\"a\",\"b\"),c(\"a\",\"b\",\"x\"))\nf6 <- fct_drop(f5)\n\nfct_expand(f, ...): Add levels to a factor.\n\nfct_expand(f6, \"x\")\n\nfct_na_value_to_level(f, level = \"(Missing)\"): Assigns a level to NAs to ensure they appear in plots, etc.\n\nf <- factor(c(\"a\", \"b\", NA))\nfct_na_value_to_level(f, level = \"(Missing)\")\n\n\n\nCC BY SA Posit Software, PBC • info@posit.co • posit.co\nLearn more at forcats.tidyverse.org.\nUpdated: 2023-06.\n\npackageVersion(\"forcats\")\n\n[1] '1.0.0'"
+ "text": "Add or drop levels\n\nfct_drop(f, only): Drop unused levels.\n\nf5 <- factor(c(\"a\",\"b\"),c(\"a\",\"b\",\"x\"))\nf6 <- fct_drop(f5)\n\nfct_expand(f, ...): Add levels to a factor.\n\nfct_expand(f6, \"x\")\n\nfct_na_value_to_level(f, level = \"(Missing)\"): Assigns a level to NAs to ensure they appear in plots, etc.\n\nf <- factor(c(\"a\", \"b\", NA))\nfct_na_value_to_level(f, level = \"(Missing)\")\n\n\n\nCC BY SA Posit Software, PBC • info@posit.co • posit.co\nLearn more at forcats.tidyverse.org.\nUpdated: 2024-05.\n\npackageVersion(\"forcats\")\n\n[1] '1.0.0'"
},
{
"objectID": "html/data-transformation.html",
diff --git a/sitemap.xml b/sitemap.xml
index 33479ead..23377d7c 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -2,86 +2,86 @@
https://rstudio.github.io/cheatsheets/translations.html
- 2024-05-29T04:04:41.068Z
+ 2024-05-29T18:06:58.381Z
https://rstudio.github.io/cheatsheets/html/tidyr.html
- 2024-05-29T04:04:39.356Z
+ 2024-05-29T18:06:56.661Z
https://rstudio.github.io/cheatsheets/html/sparklyr.html
- 2024-05-29T04:04:39.356Z
+ 2024-05-29T18:06:56.661Z
https://rstudio.github.io/cheatsheets/html/shiny-python.html
- 2024-05-29T04:04:39.356Z
+ 2024-05-29T18:06:56.661Z
https://rstudio.github.io/cheatsheets/html/rmarkdown.html
- 2024-05-29T04:04:39.356Z
+ 2024-05-29T18:06:56.661Z
https://rstudio.github.io/cheatsheets/html/quarto.html
- 2024-05-29T04:04:39.352Z
+ 2024-05-29T18:06:56.661Z
https://rstudio.github.io/cheatsheets/html/plumber.html
- 2024-05-29T04:04:39.352Z
+ 2024-05-29T18:06:56.661Z
https://rstudio.github.io/cheatsheets/html/lubridate.html
- 2024-05-29T04:04:39.352Z
+ 2024-05-29T18:06:56.661Z
https://rstudio.github.io/cheatsheets/html/factors.html
- 2024-05-29T04:04:39.332Z
+ 2024-05-29T18:06:56.637Z
https://rstudio.github.io/cheatsheets/html/data-transformation.html
- 2024-05-29T04:04:39.332Z
+ 2024-05-29T18:06:56.637Z
https://rstudio.github.io/cheatsheets/contributed-cheatsheets.html
- 2024-05-29T04:04:39.264Z
+ 2024-05-29T18:06:56.569Z
https://rstudio.github.io/cheatsheets/html/data-import.html
- 2024-05-29T04:04:39.332Z
+ 2024-05-29T18:06:56.637Z
https://rstudio.github.io/cheatsheets/html/data-visualization.html
- 2024-05-29T04:04:39.332Z
+ 2024-05-29T18:06:56.637Z
https://rstudio.github.io/cheatsheets/html/keras.html
- 2024-05-29T04:04:39.352Z
+ 2024-05-29T18:06:56.661Z
https://rstudio.github.io/cheatsheets/html/package-development.html
- 2024-05-29T04:04:39.352Z
+ 2024-05-29T18:06:56.661Z
https://rstudio.github.io/cheatsheets/html/purrr.html
- 2024-05-29T04:04:39.352Z
+ 2024-05-29T18:06:56.661Z
https://rstudio.github.io/cheatsheets/html/reticulate.html
- 2024-05-29T04:04:39.356Z
+ 2024-05-29T18:06:56.661Z
https://rstudio.github.io/cheatsheets/html/rstudio-ide.html
- 2024-05-29T04:04:39.356Z
+ 2024-05-29T18:06:56.661Z
https://rstudio.github.io/cheatsheets/html/shiny.html
- 2024-05-29T04:04:39.356Z
+ 2024-05-29T18:06:56.661Z
https://rstudio.github.io/cheatsheets/html/strings.html
- 2024-05-29T04:04:39.356Z
+ 2024-05-29T18:06:56.661Z
https://rstudio.github.io/cheatsheets/index.html
- 2024-05-29T04:04:39.356Z
+ 2024-05-29T18:06:56.661Z
diff --git a/translations/portuguese/factors_pt_br.pdf b/translations/portuguese/factors_pt_br.pdf
new file mode 100644
index 00000000..a2727a75
Binary files /dev/null and b/translations/portuguese/factors_pt_br.pdf differ