-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get rid of stringsAsFactors = TRUE effect in stored data
- Loading branch information
Angela Li
committed
Oct 22, 2019
1 parent
5b8902e
commit b7db283
Showing
16 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
library(sf) | ||
library(usethis) | ||
|
||
clev_pts <- st_read("data-raw/clev_sls_154_core.shp") | ||
clev_pts <- read_sf("data-raw/clev_sls_154_core.shp") | ||
|
||
usethis::use_data(clev_pts, overwrite = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
library(sf) | ||
library(usethis) | ||
|
||
chicago_comm <- st_read("data-raw/chicagocomm.shp") | ||
chicago_comm <- read_sf("data-raw/chicagocomm.shp") | ||
|
||
usethis::use_data(chicago_comm, overwrite = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
library(sf) | ||
library(usethis) | ||
|
||
commpop <- st_read("data-raw/commpop.shp") | ||
commpop <- read_sf("data-raw/commpop.shp") | ||
|
||
usethis::use_data(commpop, overwrite = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
library(sf) | ||
library(usethis) | ||
|
||
guerry <- st_read("data-raw/guerry.shp") | ||
guerry <- read_sf("data-raw/guerry.shp") | ||
|
||
usethis::use_data(guerry, overwrite = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
library(sf) | ||
library(usethis) | ||
|
||
ncovr <- st_read("data-raw/NAT.shp") | ||
ncovr <- read_sf("data-raw/NAT.shp") | ||
|
||
usethis::use_data(ncovr, overwrite = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
library(sf) | ||
library(usethis) | ||
|
||
nyc_sf <- st_read("data-raw/nyc.shp") | ||
nyc_sf <- read_sf("data-raw/nyc.shp") | ||
nyc_sf <- lwgeom::st_make_valid(nyc_sf) | ||
|
||
usethis::use_data(nyc_sf, overwrite = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
library(sf) | ||
library(usethis) | ||
|
||
ohio_lung <- st_read("data-raw/ohlung.geojson") | ||
ohio_lung <- read_sf("data-raw/ohlung.geojson") | ||
|
||
usethis::use_data(ohio_lung, overwrite = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
library(sf) | ||
library(usethis) | ||
|
||
vehicle_pts <- st_read("data-raw/cleanvehpts.shp") | ||
vehicle_pts <- read_sf("data-raw/cleanvehpts.shp") | ||
|
||
usethis::use_data(vehicle_pts, overwrite = TRUE) |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.