Skip to content

Commit

Permalink
test readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Nov 27, 2023
1 parent e9c66a9 commit 346463a
Show file tree
Hide file tree
Showing 9 changed files with 52 additions and 19 deletions.
4 changes: 4 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
```{r}
with(mtcars, plot(mpg, hp))
```

<p align="center">
<img src="https://user-images.githubusercontent.com/987057/167296405-e7798ac8-03e7-444e-acaf-d99fc42d1c9e.png" align="right" alt="" width="125" />
</p>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@

``` r
with(mtcars, plot(mpg, hp))
```

![](docs/README.markdown_strict_files/figure-markdown_strict/unnamed-chunk-1-1.png)

<p align="center">
<img src="https://user-images.githubusercontent.com/987057/167296405-e7798ac8-03e7-444e-acaf-d99fc42d1c9e.png" align="right" alt="" width="125" />
</p>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@

``` r
with(mtcars, plot(mpg, hp))
```

![](README.markdown_strict_files/figure-markdown_strict/unnamed-chunk-1-1.png)

<p align="center">
<img src="https://user-images.githubusercontent.com/987057/167296405-e7798ac8-03e7-444e-acaf-d99fc42d1c9e.png" align="right" alt="" width="125" />
</p>
Expand Down
18 changes: 18 additions & 0 deletions docs/docsify.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
* [Home](/)
* Vignettes:
- [Country codes](vignettes/countrycode.md)
- [Country names](vignettes/countryname.md)
- [Custom conversion functions](vignettes/custom.md)
- [Contributions](vignettes/contributions.md)
* Functions and dictionaries:
- [countrycode](man/countrycode)
- [countryname](man/countryname)
- [get_dictionary](man/get_dictionary)
- [guess_field](man/guess_field)
- [cldr_examples](man/cldr_examples)
- [codelist_panel](man/codelist_panel)
- [codelist](man/codelist)
- [countryname_dict](man/countryname_dict)
* [News](NEWS.md)
* [License](LICENSE.md)
* [Citation](CITATION.md)
Binary file added docs/freeze.rds
Binary file not shown.
7 changes: 3 additions & 4 deletions docs/man/codelist.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,9 @@ Destination only
<ul>
<li>

<code style="white-space: pre;">⁠cldr.\*⁠</code>: 600+ country name
variants from the UNICODE CLDR project (e.g., "cldr.short.en"). Inspect
the <code>cldr_examples</code> data.frame for a full list of available
country names and examples.
`cldr.*`: 600+ country name variants from the UNICODE CLDR project
(e.g., "cldr.short.en"). Inspect the <code>cldr_examples</code>
data.frame for a full list of available country names and examples.

</li>
<li>
Expand Down
30 changes: 15 additions & 15 deletions docs/vignettes/countrycode.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,22 +65,22 @@ df1
```

cowcodes var1
1 ALG 192
2 ALB 380
3 UKG 229
4 CAN 219
5 USA 293
1 ALG 494
2 ALB 64
3 UKG 191
4 CAN 359
5 USA 469

``` r
df2
```

isocodes var2
1 12 142
2 8 433
3 826 335
4 124 272
5 840 77
1 12 73
2 8 76
3 826 325
4 124 406
5 840 189

Create a common variable with the iso3c code in each data frame, merge
the data, and create a country identifier:
Expand All @@ -94,11 +94,11 @@ df3
```

iso3c cowcodes var1 isocodes var2 country
1 ALB ALB 380 8 433 Albania
2 CAN CAN 219 124 272 Canada
3 DZA ALG 192 12 142 Algeria
4 GBR UKG 229 826 335 United Kingdom
5 USA USA 293 840 77 United States
1 ALB ALB 64 8 76 Albania
2 CAN CAN 359 124 406 Canada
3 DZA ALG 494 12 73 Algeria
4 GBR UKG 191 826 325 United Kingdom
5 USA USA 469 840 189 United States

## Flags

Expand Down

0 comments on commit 346463a

Please sign in to comment.