Description Usage Arguments Details Value See Also
namespace_match_generator
generates a localised list of namespace names and the equivalent IDs,
and saves it to file. This is then used by namespace_match
1 | namespace_match_generator(to_return = FALSE)
|
to_return |
whether or not to return the dataset, as well as save it to file. |
namespace_match_generator queries the various Wikimedia APIs to build up a dataset of what the localised namespace names are on each project. For this reason it needs internet access - don't bother using it on stat1002, for example.
Either the value TRUE, if to_return is FALSE, or a data.table containing the project dbname, language name, project type, namespace ID, and localised namespace name.
namespace_match
, which uses the resulting dataset to perform namespace name/ID matching.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.