README.md

lodes : Retrieve Data from LEHD Origin-Destination Employment Statistics Server

The following functions are implemented:

Both functions take a download_dir parameter and local copies of the remote files will be cached to that directory and read from vs re-downloading (be kind to servers). Remove the file if you want a fresh version.

Installation

devtools::install_git("https://github.com/hrbrmstr/lodes.git")
options(width=120)

Usage

library(lodes)
library(dplyr)

# current verison
packageVersion("lodes")
## [1] '0.1.0'
# Grab a crosswalk file
id_xwalk <- read_xwalk("id", "~/Data/lodes")

glimpse(id_xwalk)
## Observations: 149,842
## Variables: 41
## $ tabblk2010   <dbl> 1.6001e+14, 1.6001e+14, 1.6001e+14, 1.6001e+14, 1.6001e+14, 1.6001e+14, 1.6001e+14, 1.6001e+14...
## $ st           <int> 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16...
## $ stusps       <chr> "ID", "ID", "ID", "ID", "ID", "ID", "ID", "ID", "ID", "ID", "ID", "ID", "ID", "ID", "ID", "ID"...
## $ stname       <chr> "Idaho", "Idaho", "Idaho", "Idaho", "Idaho", "Idaho", "Idaho", "Idaho", "Idaho", "Idaho", "Ida...
## $ cty          <int> 16001, 16001, 16001, 16001, 16001, 16001, 16001, 16001, 16001, 16001, 16001, 16001, 16001, 160...
## $ ctyname      <chr> "Ada County, ID", "Ada County, ID", "Ada County, ID", "Ada County, ID", "Ada County, ID", "Ada...
## $ trct         <dbl> 1.6001e+10, 1.6001e+10, 1.6001e+10, 1.6001e+10, 1.6001e+10, 1.6001e+10, 1.6001e+10, 1.6001e+10...
## $ trctname     <chr> "1 (Ada, ID)", "1 (Ada, ID)", "1 (Ada, ID)", "1 (Ada, ID)", "1 (Ada, ID)", "1 (Ada, ID)", "1 (...
## $ bgrp         <dbl> 1.6001e+11, 1.6001e+11, 1.6001e+11, 1.6001e+11, 1.6001e+11, 1.6001e+11, 1.6001e+11, 1.6001e+11...
## $ bgrpname     <chr> "1 (Tract 1, Ada, ID)", "1 (Tract 1, Ada, ID)", "1 (Tract 1, Ada, ID)", "1 (Tract 1, Ada, ID)"...
## $ cbsa         <int> 14260, 14260, 14260, 14260, 14260, 14260, 14260, 14260, 14260, 14260, 14260, 14260, 14260, 142...
## $ cbsaname     <chr> "Boise City, ID", "Boise City, ID", "Boise City, ID", "Boise City, ID", "Boise City, ID", "Boi...
## $ zcta         <int> 83702, 83702, 83702, 83702, 83702, 83702, 83702, 83702, 83702, 83702, 83702, 83702, 83702, 837...
## $ zctaname     <int> 83702, 83702, 83702, 83702, 83702, 83702, 83702, 83702, 83702, 83702, 83702, 83702, 83702, 837...
## $ stplc        <int> 1608830, 1608830, 1608830, 1608830, 1608830, 1608830, 1608830, 1608830, 1608830, 1608830, 1608...
## $ stplcname    <chr> "Boise City city, ID", "Boise City city, ID", "Boise City city, ID", "Boise City city, ID", "B...
## $ ctycsub      <dbl> 1600190345, 1600190345, 1600190345, 1600190345, 1600190345, 1600190345, 1600190345, 1600190345...
## $ ctycsubname  <chr> "Boise City CCD (Ada, ID)", "Boise City CCD (Ada, ID)", "Boise City CCD (Ada, ID)", "Boise Cit...
## $ stcd114      <int> 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602, 1602...
## $ stcd114name  <chr> "ID-02", "ID-02", "ID-02", "ID-02", "ID-02", "ID-02", "ID-02", "ID-02", "ID-02", "ID-02", "ID-...
## $ stsldl       <int> 16019, 16019, 16019, 16019, 16019, 16019, 16019, 16019, 16019, 16019, 16019, 16019, 16019, 160...
## $ stsldlname   <chr> "State House District 19, ID", "State House District 19, ID", "State House District 19, ID", "...
## $ stsldu       <int> 16019, 16019, 16019, 16019, 16019, 16019, 16019, 16019, 16019, 16019, 16019, 16019, 16019, 160...
## $ stslduname   <chr> "State Senate District 19, ID", "State Senate District 19, ID", "State Senate District 19, ID"...
## $ stschool     <int> 1600360, 1600360, 1600360, 1600360, 1600360, 1600360, 1600360, 1600360, 1600360, 1600360, 1600...
## $ stschoolname <chr> "Boise City Independent School District 1, ID", "Boise City Independent School District 1, ID"...
## $ stsecon      <int> 9999999, 9999999, 9999999, 9999999, 9999999, 9999999, 9999999, 9999999, 9999999, 9999999, 9999...
## $ stseconname  <chr> "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""...
## $ trib         <chr> "99999", "99999", "99999", "99999", "99999", "99999", "99999", "99999", "99999", "99999", "999...
## $ tribname     <chr> "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""...
## $ tsub         <int> 9999999, 9999999, 9999999, 9999999, 9999999, 9999999, 9999999, 9999999, 9999999, 9999999, 9999...
## $ tsubname     <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA...
## $ stanrc       <int> 9999999, 9999999, 9999999, 9999999, 9999999, 9999999, 9999999, 9999999, 9999999, 9999999, 9999...
## $ stanrcname   <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA...
## $ necta        <int> 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 999...
## $ nectaname    <lgl> NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA...
## $ mil          <dbl> 1e+22, 1e+22, 1e+22, 1e+22, 1e+22, 1e+22, 1e+22, 1e+22, 1e+22, 1e+22, 1e+22, 1e+22, 1e+22, 1e+...
## $ milname      <chr> "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""...
## $ stwib        <int> 16160030, 16160030, 16160030, 16160030, 16160030, 16160030, 16160030, 16160030, 16160030, 1616...
## $ stwibname    <chr> "03 Southwest WIB", "03 Southwest WIB", "03 Southwest WIB", "03 Southwest WIB", "03 Southwest ...
## $ createdate   <int> 20160222, 20160222, 20160222, 20160222, 20160222, 20160222, 20160222, 20160222, 20160222, 2016...
# Some different params
de <- read_lodes("de", "od", "aux", "JT00", "2006", "~/Data/lodes")
glimpse(de)
## Observations: 68,284
## Variables: 13
## $ w_geocode  <dbl> 1.000104e+14, 1.000104e+14, 1.000104e+14, 1.000104e+14, 1.000104e+14, 1.000104e+14, 1.000104e+14...
## $ h_geocode  <chr> "240119550001006", "240119550001040", "240299501002080", "240299501003088", "240299503002017", "...
## $ S000       <int> 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
## $ SA01       <int> 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, ...
## $ SA02       <int> 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, ...
## $ SA03       <int> 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, ...
## $ SE01       <int> 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, ...
## $ SE02       <int> 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, ...
## $ SE03       <int> 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, ...
## $ SI01       <int> 1, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, ...
## $ SI02       <int> 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ SI03       <int> 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, ...
## $ createdate <int> 20160228, 20160228, 20160228, 20160228, 20160228, 20160228, 20160228, 20160228, 20160228, 201602...
ak <- read_lodes("ak", "residence", "S000", "JT00", "2002", "~/Data/lodes")
glimpse(ak)
## Observations: 10,846
## Variables: 43
## $ h_geocode  <chr> "020130001001101", "020130001001197", "020130001001200", "020130001001201", "020130001001208", "...
## $ C000       <int> 2, 1, 2, 1, 1, 2, 1, 1, 1, 67, 12, 1, 3, 2, 4, 75, 3, 1, 5, 1, 49, 15, 11, 1, 1, 23, 2, 1, 1, 1,...
## $ CA01       <int> 1, 0, 0, 0, 0, 1, 1, 0, 0, 16, 1, 0, 1, 0, 3, 22, 1, 0, 1, 0, 15, 5, 1, 1, 0, 6, 0, 0, 0, 0, 0, ...
## $ CA02       <int> 1, 0, 2, 1, 0, 1, 0, 1, 1, 44, 10, 1, 2, 2, 1, 47, 2, 1, 2, 1, 24, 10, 9, 0, 1, 15, 2, 0, 1, 0, ...
## $ CA03       <int> 0, 1, 0, 0, 1, 0, 0, 0, 0, 7, 1, 0, 0, 0, 0, 6, 0, 0, 2, 0, 10, 0, 1, 0, 0, 2, 0, 1, 0, 1, 1, 0,...
## $ CE01       <int> 1, 0, 1, 1, 0, 1, 1, 1, 0, 35, 7, 0, 0, 1, 1, 35, 2, 0, 4, 1, 26, 9, 5, 1, 0, 15, 1, 0, 1, 0, 1,...
## $ CE02       <int> 1, 0, 1, 0, 0, 1, 0, 0, 1, 21, 4, 1, 2, 0, 2, 27, 1, 1, 1, 0, 16, 5, 5, 0, 0, 6, 1, 0, 0, 1, 0, ...
## $ CE03       <int> 0, 1, 0, 0, 1, 0, 0, 0, 0, 11, 1, 0, 1, 1, 1, 13, 0, 0, 0, 0, 7, 1, 1, 0, 1, 2, 0, 1, 0, 0, 2, 0...
## $ CNS01      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS02      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS03      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS04      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, ...
## $ CNS05      <int> 0, 0, 0, 0, 0, 1, 0, 0, 0, 4, 5, 0, 1, 0, 2, 8, 0, 0, 0, 0, 7, 4, 1, 0, 0, 6, 1, 0, 0, 0, 1, 0, ...
## $ CNS06      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS07      <int> 1, 0, 2, 0, 0, 0, 0, 0, 0, 6, 2, 0, 1, 0, 0, 7, 0, 0, 0, 0, 6, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS08      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 2, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS09      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS10      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 1, 0, 3, 1, 0, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, ...
## $ CNS11      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS12      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS13      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS14      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS15      <int> 1, 0, 0, 0, 0, 1, 0, 1, 1, 20, 3, 0, 0, 1, 1, 26, 1, 0, 1, 0, 15, 3, 5, 1, 1, 8, 0, 0, 0, 0, 0, ...
## $ CNS16      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 1, 0, 0, 0, 0, 4, 0, 0, 0, 0, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, ...
## $ CNS17      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS18      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS19      <int> 0, 0, 0, 0, 1, 0, 0, 0, 0, 2, 0, 0, 1, 0, 0, 3, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, ...
## $ CNS20      <int> 0, 1, 0, 1, 0, 0, 1, 0, 0, 18, 1, 1, 0, 0, 0, 17, 0, 1, 2, 0, 16, 1, 2, 0, 0, 5, 0, 0, 1, 1, 0, ...
## $ CR01       <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CR02       <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CR03       <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CR04       <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CR05       <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CR07       <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CT01       <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CT02       <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CD01       <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CD02       <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CD03       <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CD04       <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CS01       <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CS02       <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ createdate <int> 20160228, 20160228, 20160228, 20160228, 20160228, 20160228, 20160228, 20160228, 20160228, 201602...
id <- read_lodes("id", "workplace", "SE02", "JT03", "2013", "~/Data/lodes")
glimpse(id)
## Observations: 12,271
## Variables: 53
## $ w_geocode  <dbl> 1.6001e+14, 1.6001e+14, 1.6001e+14, 1.6001e+14, 1.6001e+14, 1.6001e+14, 1.6001e+14, 1.6001e+14, ...
## $ C000       <int> 1, 5, 1, 7, 32, 40, 15, 74, 30, 20, 9, 6, 2, 5, 2, 7, 5, 4, 5, 3, 2, 5, 1, 18, 3, 46, 3, 3, 16, ...
## $ CA01       <int> 0, 3, 1, 2, 7, 20, 7, 19, 6, 9, 1, 1, 0, 0, 1, 3, 1, 0, 1, 0, 0, 1, 0, 5, 1, 16, 0, 0, 6, 0, 4, ...
## $ CA02       <int> 1, 2, 0, 5, 22, 15, 7, 43, 13, 6, 7, 2, 0, 1, 1, 2, 2, 3, 4, 3, 0, 4, 1, 7, 2, 22, 1, 1, 5, 5, 3...
## $ CA03       <int> 0, 0, 0, 0, 3, 5, 1, 12, 11, 5, 1, 3, 2, 4, 0, 2, 2, 1, 0, 0, 2, 0, 0, 6, 0, 8, 2, 2, 5, 1, 0, 0...
## $ CE01       <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CE02       <int> 1, 5, 1, 7, 32, 40, 15, 74, 30, 20, 9, 6, 2, 5, 2, 7, 5, 4, 5, 3, 2, 5, 1, 18, 3, 46, 3, 3, 16, ...
## $ CE03       <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS01      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS02      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS03      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS04      <int> 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS05      <int> 0, 0, 0, 0, 5, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS06      <int> 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, ...
## $ CNS07      <int> 0, 0, 0, 0, 0, 9, 0, 65, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0,...
## $ CNS08      <int> 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS09      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS10      <int> 0, 0, 0, 0, 3, 5, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 2, 0,...
## $ CNS11      <int> 0, 0, 0, 0, 19, 0, 6, 0, 1, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
## $ CNS12      <int> 0, 5, 1, 4, 3, 0, 6, 0, 0, 5, 0, 0, 0, 0, 0, 0, 1, 1, 4, 1, 2, 1, 1, 0, 0, 0, 3, 1, 7, 2, 2, 0, ...
## $ CNS13      <int> 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, ...
## $ CNS14      <int> 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 0, 0,...
## $ CNS15      <int> 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS16      <int> 1, 0, 0, 0, 2, 0, 0, 0, 13, 6, 9, 0, 2, 5, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 37, 0, 0, 0, 2, 0, 1...
## $ CNS17      <int> 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CNS18      <int> 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 1, 2,...
## $ CNS19      <int> 0, 0, 0, 2, 0, 6, 0, 0, 6, 0, 0, 3, 0, 0, 2, 0, 0, 3, 1, 0, 0, 4, 0, 0, 0, 8, 0, 2, 1, 2, 0, 0, ...
## $ CNS20      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CR01       <int> 1, 5, 1, 7, 32, 35, 15, 74, 29, 20, 9, 6, 2, 3, 2, 6, 5, 3, 4, 3, 2, 5, 1, 17, 3, 46, 3, 3, 15, ...
## $ CR02       <int> 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CR03       <int> 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CR04       <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CR05       <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CR07       <int> 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, ...
## $ CT01       <int> 1, 5, 1, 7, 32, 38, 14, 67, 30, 19, 9, 6, 2, 5, 2, 7, 4, 4, 5, 3, 2, 4, 1, 18, 3, 43, 3, 3, 16, ...
## $ CT02       <int> 0, 0, 0, 0, 0, 2, 1, 7, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 3, 0, 0, 0, 0, 0, 1, ...
## $ CD01       <int> 0, 0, 0, 1, 1, 3, 0, 7, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 2, 0, 3, 0, 0, 0, 0, 0, 0, 0, 1, ...
## $ CD02       <int> 1, 0, 0, 1, 10, 7, 1, 23, 8, 2, 4, 1, 1, 1, 0, 1, 0, 0, 1, 2, 2, 0, 0, 2, 1, 10, 2, 0, 2, 1, 1, ...
## $ CD03       <int> 0, 0, 0, 2, 9, 5, 5, 19, 8, 6, 1, 1, 1, 3, 0, 2, 2, 3, 3, 0, 0, 1, 1, 2, 1, 13, 1, 1, 5, 2, 1, 0...
## $ CD04       <int> 0, 2, 0, 1, 5, 5, 2, 6, 7, 2, 2, 2, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 6, 0, 7, 0, 2, 3, 3, 1, 0, ...
## $ CS01       <int> 0, 2, 0, 2, 13, 15, 3, 30, 6, 3, 0, 2, 0, 0, 2, 2, 2, 0, 0, 2, 0, 4, 0, 5, 2, 3, 1, 1, 1, 2, 4, ...
## $ CS02       <int> 1, 3, 1, 5, 19, 25, 12, 44, 24, 17, 9, 4, 2, 5, 0, 5, 3, 4, 5, 1, 2, 1, 1, 13, 1, 43, 2, 2, 15, ...
## $ CFA01      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CFA02      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CFA03      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CFA04      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CFA05      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CFS01      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CFS02      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CFS03      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CFS04      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ CFS05      <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
## $ createdate <int> 20160219, 20160219, 20160219, 20160219, 20160219, 20160219, 20160219, 20160219, 20160219, 201602...

Test Results

library(lodes)
library(testthat)

date()
## [1] "Fri Jan 20 06:49:37 2017"
test_dir("tests/")
## testthat results ========================================================================================================
## OK: 0 SKIPPED: 0 FAILED: 0
## 
## DONE ===================================================================================================================


hrbrmstr/lodes documentation built on May 17, 2019, 5:10 p.m.