-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
executable file
·65 lines (48 loc) · 2.19 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# rstatatools
<!-- badges: start -->
[](https://www.tidyverse.org/lifecycle/#experimental)
<!-- badges: end -->
欢迎使用 rstatatools,这个包里的函数并没有统一的目标,而是我平常使用的各种函数的集合,由于 R 包的开发不能使用中文,我又懒得写注释,所以就随便写写介绍,大家试着理解下。
欢迎大家关注微信公众号“RStata” 和 “Stata 中文社区” 获取最新资讯和动态!
RStata | Stata中文社区
:-:|:-:
<img src="https://mdniceczx.oss-cn-beijing.aliyuncs.com/image_20201120143454.png" width="50%"/> | <img src="https://mdniceczx.oss-cn-beijing.aliyuncs.com/image_20201120143508.png" width="50%"/>
## 安装方法
你可以从 GitHub 上安装这个 R 包:
```r
devtools::install_github('r-stata/rstatatools')
```
Gitee:
```r
devtools::install_git('https://gitee.com/tidyfriday/rstatatools.git')
```
## 使用介绍
> 注意:geoqmap()、cntrade()、plotstock() 不再能使用了。
+ `GCJ02_WGS84()`: GCJ02 坐标系转 WGS84 坐标系;
+ `addrswm()`: 给图片添加微信公众号 RStata 水印;
+ `cn_ngrams()`: 中文文本的 n-grams 分词 token 函数,用于 tidyr::unnest_token() 函数里面;
+ `cnseg_tokenfun()`: 中文文本的分词 token 函数,用于 tidyr::unnest_token() 函数里面;
+ `cntrade()`: 不再可用;
+ `gdmap()`: 高德地图的瓦片图层,leaflet 相关;
+ `gdmap_annotion()`: 高德地图的瓦片图层,leaflet 相关;
+ `geoqmap()`: 不再可用;
+ `get_coords()`: 使用高德地图进行地理编码;
+ `get_coords_bd()`: 使用百度地图进行地理编码;
+ `plotstock()`: 不再可用
+ `tdtmap()`: 天地图的瓦片图层,leaflet 相关;
+ `tdtmap_annotion()`: 天地图的瓦片图层,leaflet 相关;
------------
<h4 align="center">License</h4>
<h6 align="center">MIT © 微信公众号 RStata</h6>