Skip to content

Commit

Permalink
version 1.5.0, as submitted to cran
Browse files Browse the repository at this point in the history
  • Loading branch information
alamstein-trulia committed May 11, 2014
1 parent 6e77d1e commit 0f4ae14
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Description: choroplethr simplifies the creation of choropleths in R. A
data, choosing and labeling discrete scales and creating a clean background
are handled automatically. choroplethr provides native support for viewing
data from the US Census's American Community Survey (ACS).
Version: 1.4.99
Version: 1.5.0
Author: Ari Lamstein <[email protected]>[cre, aut],
Brian P Johnson <[email protected]> [ctb, frontend animation code]
Maintainer: Ari Lamstein <[email protected]>
Expand Down
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ FEATURE
-Create function clip_df(data.frame, lod) that clips a data.frame to a map. This is useful
when you want to do statistics on a data.frame (such as above/below median values), and have your computations match the map. For example, maps in choroplethr do not contain Alaska or Hawaii.
-Rename vignettes so that they appear in proper order on CRAN website.
-Export format_levels function

BUG FIXES
-handle counties with leading zeroes.
Expand Down
2 changes: 1 addition & 1 deletion R/clip_df.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ clip_df_world = function(df)
# remove anything not in the world map
# data(choroplethr, package="choroplethr", envir=environment())
# df$region = normalize_country_names(df$region)
df = df[df$region %in% country.names, ]
# df = df[df$region %in% country.names, ]

}

Expand Down
3 changes: 2 additions & 1 deletion tests/test-all.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
library(testthat)
library(choroplethr)

test_package("choroplethr")
#disable tests for submission to cran, because my tests require a key to the us census api
#test_package("choroplethr")

0 comments on commit 0f4ae14

Please sign in to comment.