Skip to content

Commit 68d9bac

Browse files
authored
Update NAICS file to explicitly define every 6-digit code (#103)
* add correct naics bridge * style naics bridge * update data_dictionary entry * update ref values * update documentation * update NEWS.md
1 parent b3746ef commit 68d9bac

File tree

10 files changed

+1066
-75
lines changed

10 files changed

+1066
-75
lines changed

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# r2dii.data (development version)
22

3+
* `naics_classification` now includes only 6-digit codes (@jdhoffa #103).
4+
35
# r2dii.data 0.1.0
46

57
* r2dii.data is now [maturing](https://www.tidyverse.org/lifecycle/#maturing).
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dataset,column,typeof,definition
2-
naics_classification,code,double,NAICS code
3-
naics_classification,code_level,double,Level of granularity of NAICS code
2+
naics_classification,code,double,Six-digit NAICS code
3+
naics_classification,naics_title,character,Original NAICS sector title
44
naics_classification,sector,character,Associated 2dii sector
55
naics_classification,borderline,logical,Flag indicating if 2dii sector and classification code are a borderline match

data-raw/naics_classification.csv

Lines changed: 1058 additions & 69 deletions
Large diffs are not rendered by default.

data/data_dictionary.rda

4 Bytes
Binary file not shown.

data/naics_classification.rda

14.2 KB
Binary file not shown.

data/sector_classifications.rda

2.54 KB
Binary file not shown.

man/naics_classification.Rd

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/sector_classifications.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/testthat/ref-data_dictionary

18 Bytes
Binary file not shown.
2.71 KB
Binary file not shown.

0 commit comments

Comments
 (0)