-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #134 from brews/master
Fix raw_data scripts from `usethis` update upstream
- Loading branch information
Showing
5 changed files
with
14 additions
and
7 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,5 +1,6 @@ | ||
library(burnr) | ||
library(usethis) | ||
|
||
lgr2 <- read_fhx('data-raw/lgr2.fhx') | ||
|
||
devtools::use_data(lgr2, overwrite = TRUE) | ||
usethis::use_data(lgr2, 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,3 +1,5 @@ | ||
library(usethis) | ||
|
||
lgr2_meta <- read.csv('data-raw/lgr2_meta.csv') | ||
|
||
devtools::use_data(lgr2_meta, overwrite = TRUE) | ||
usethis::use_data(lgr2_meta, 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,5 +1,6 @@ | ||
library(burnr) | ||
library(usethis) | ||
|
||
pgm <- read_fhx('data-raw/pgm.fhx') | ||
|
||
devtools::use_data(pgm, overwrite = TRUE) | ||
usethis::use_data(pgm, 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,3 +1,5 @@ | ||
library(usethis) | ||
|
||
pgm_meta <- read.csv('data-raw/pgm_meta.csv') | ||
|
||
devtools::use_data(pgm_meta, overwrite = TRUE) | ||
usethis::use_data(pgm_meta, 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,7 @@ | ||
# TXT file downloaded from http://iridl.ldeo.columbia.edu/SOURCES/.LDEO/.TRL/.NADA2004/pdsiatlashtml/pdsiwebdata/1050w_350n_133.txt | ||
library(usethis) | ||
|
||
# TXT file downloaded from http://iridl.ldeo.columbia.edu/SOURCES/.LDEO/.TRL/.NADA2004/pdsiatlashtml/pdsiwebdata/1050w_350n_133.txt | ||
pdsi_raw <- read.table('data-raw/pgm_pdsi.txt', header = TRUE, row.names = 1) | ||
pgm_pdsi <- subset(pdsi, select = "RECON") | ||
pgm_pdsi <- subset(pdsi_raw, select = "RECON") | ||
|
||
devtools::use_data(pgm_pdsi, overwrite = TRUE) | ||
usethis::use_data(pgm_pdsi, overwrite = TRUE) |