Makes a new regional or national country class with the name provided as the source. This forms a basic template for the user to fill in with the specific field values and cleaning functions required. This also creates a github workflow file for the same country.
1 2 3 4 5  | make_new_data_source(
  source,
  type = "subnational",
  newfile_path = paste0("R/", source, ".R")
)
 | 
source | 
 character_array The name of the class to create. Must start with a capital letter (be upper camel case or an acronym in all caps such as WHO).  | 
type | 
 character_array the type of class to create, subnational or
National defaults to subnational. Regional classes are individual countries,
such as UK, Italy, India, etc. These inherit from   | 
newfile_path | 
 character_array the place to save the class file  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.