font_info_google | R Documentation |
This function returns a data frame that contains the metadata of font families available in Google Fonts, for example the family name, available font face variants, the version number, etc. When running this function for the first time, it may take a few seconds to fetch the database. This function requires the jsonlite and curl packages.
font_info_google(db_cache = TRUE, handle = curl::new_handle())
db_cache |
whether to obtain font metadata from a cache site. Using cache
is typically faster, but not as update-to-date as using the official
API. If |
handle |
a curl handle object passed to |
A data frame containing metadata of Google Fonts.
Yixuan Qiu <https://statr.me/>
font_families_google()
## Not run:
font_info_google()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.