Skip to content

Instantly share code, notes, and snippets.

@anjesh
Last active March 27, 2017 17:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anjesh/e46b80de27f147094f23db61452018f5 to your computer and use it in GitHub Desktop.
Save anjesh/e46b80de27f147094f23db61452018f5 to your computer and use it in GitHub Desktop.
The R code to scrape NSIC data and code from PDF (for Nepal Standard Industrial Classification)
library(tm)
# download pdf from http://cbs.gov.np/image/data/Publication/Others/Nepal%20Standard%20Industrial%20Classification.pdf
# using tricks from http://stackoverflow.com/questions/3852354/extracting-text-data-from-pdf-files
nsic.pdf.file <- "data/nsic/Nepal Standard Industrial Classification.pdf"
Rpdf <- readPDF(control = list(text = "-layout"))
nsic.pdf.corpus <- VCorpus(URISource(nsic.pdf.file), readerControl = list(reader = Rpdf))
nsic.pdf.lines <- content(content(nsic.pdf.corpus)[[1]])
pattern.code.1 <- "^[ \r\n\t\f]*([A-Z]{1})[ ]+.*"
pattern.code.2 <- "^[ \r\n\t\f]*([0-9]{2})[ ]+.*"
pattern.code.3 <- "^[ \r\n\t\f]*([0-9]{3})[ ]+.*"
pattern.code.4 <- "^[ \r\n\t\f]*([0-9]{4})[ ]+.*"
pattern.desc <- "^[^\\(]*[\\(|-]([^\\)]+).*$"
start.flag = FALSE
start.desc.1.flag = FALSE
start.desc.4.flag = FALSE
df <- data.frame(categorycode=factor(),category=factor(),code3digit=factor(),code4digit=factor(),desc=factor(), stringsAsFactors=FALSE)
for(line in nsic.pdf.lines) {
if(start.flag) {
if(grepl(pattern.code.1, line)) {
start.desc.1.flag = TRUE
code.1 <- sub(pattern.code.1, "\\1", line[grepl(pattern.code.1, line)])
}else if(grepl(pattern.code.2, line)) {
# start.desc.flag = TRUE
code.2 <- sub(pattern.code.2, "\\1", line[grepl(pattern.code.2, line)])
}else if(grepl(pattern.code.3, line)) {
# start.desc.flag = TRUE
code.3 <- sub(pattern.code.3, "\\1", line[grepl(pattern.code.3, line)])
}else if(grepl(pattern.code.4, line)) {
start.desc.4.flag = TRUE
code.4 <- sub(pattern.code.4, "\\1", line[grepl(pattern.code.4, line)])
}else if((start.desc.1.flag | start.desc.4.flag) & grepl(pattern.desc, line)) {
if(start.desc.1.flag) {
category <- sub(pattern.desc, "\\1", line[grepl(pattern.desc, line)])
start.desc.1.flag = FALSE
}
if(start.desc.4.flag) {
desc <- sub(pattern.desc, "\\1", line[grepl(pattern.desc, line)])
start.desc.4.flag = FALSE
df <- rbind(df, data.frame(categorycode=c(code.1), category=c(trimws(category)), code3digit=c(code.2), code4digit=c(code.4), desc=c(trimws(desc)),stringsAsFactors=FALSE), stringsAsFactors = FALSE)
}
}
}
if(grepl("Code number[ ]*Name of Industry / Description", line)) {
start.flag = TRUE
#start process once this line is found
}
}
# using dataframe viewer to see the text not correctly grepped
# finding incorrectly grepped text, containing ? and { to find the codes to replace the text
for(digit in df[grep("\\?", df$desc),]$code4digit) {
print(digit)
}
for(digit in df[grep("\\{", df$desc),]$code4digit) {
print(digit)
}
# fixing incorrectly grepped desc
df$category[df$categorycode == "B"] <- "Fishing"
df$desc[df$code4digit == "0130"] <- "Growing of crops combined with farming of animals (mixed farming)"
df$desc[df$code4digit == "0140"] <- "Agricultural, animal husbandry and breeding service activities (except veterinary activities"
df$desc[df$code4digit == "1551"] <- "Distilling, rectifying and blending of sprits, ethyl alcohol production from fermented metrials"
df$desc[df$code4digit == "2022"] <- "Manufacture of builders carpentry and joinary"
df$desc[df$code4digit == "2029"] <- "Manufacture of other products of wood cork, bamboo, straw and plaiting material"
df$desc[df$code4digit == "2102"] <- "Manufacture of corrugated paper and paperboard and containers of paper and paperboard "
df$desc[df$code4digit == "2212"] <- "Publishing of news paper, journal and periodicals"
df$desc[df$code4digit == "2230"] <- "Reproduction of recorded media"
df$desc[df$code4digit == "2411"] <- "Manufacture of basic chemical, except fertilizer and nitrozen compond"
df$desc[df$code4digit == "2412"] <- "Manufacture of fertilizer and nitrozen compond"
df$desc[df$code4digit == "2422"] <- "Manufacture of paints varnishes and similar coating printing ink and mastics product"
df$desc[df$code4digit == "2423"] <- "Manufacture of pharmaceuticals, medicinal chemicals and botanical products"
df$desc[df$code4digit == "2424"] <- "Manufacture of soap and detergents, cleaning and polishing preparation, perfumes and toilate preparation"
df$desc[df$code4digit == "2511"] <- "Manufacture of rubber tyres and tubes retreading and rebuilding of rubber tyres"
df$desc[df$code4digit == "2693"] <- "Manufacture of structural non refractory clay and ceramic products"
df$desc[df$code4digit == "2891"] <- "Foring, pressing, stamping and roll- forming of metal powder metallurgy"
df$desc[df$code4digit == "2892"] <- "Treatment and coataing of metals ; general mechanical engineering on a fee and contract basis"
df$desc[df$code4digit == "2911"] <- "Manufacture of engines and turbines, except aircraft, vehicle and cycles engines"
df$desc[df$code4digit == "2912"] <- "Manufacture of pump compressors taps and valves"
df$desc[df$code4digit == "2922"] <- "Manufacture of machine tools"
df$desc[df$code4digit == "2924"] <- "Manufacture of mechanery for mining, qurring and construction"
df$desc[df$code4digit == "3000"] <- "Manufacturer of office, accounting and computing machinery"
df$desc[df$code4digit == "3110"] <- "Manufacture of electric motors, generator and transformer"
df$desc[df$code4digit == "3190"] <- "Manufacture of other electrical equipment n.e.c."
df$desc[df$code4digit == "3220"] <- "Manufacture of radio and television transmitter and apparatus for line telephony and line telegraphy"
df$desc[df$code4digit == "3230"] <- "Manufacture of radio and television receivers, sound or video recording or re producing apparatus and associated goods"
df$desc[df$code4digit == "3312"] <- "Manufacture of instruments and appliance for measuring, checking, testing and other purpose except industrial process and control equipment"
df$desc[df$code4digit == "3330"] <- "Manufacture of watch and clocks"
df$desc[df$code4digit == "3720"] <- "Recycling of non -metal waste and scrap"
df$desc[df$code4digit == "7512"] <- "Regulation of the activities of agencies that provide health care, education cultural services and other social services and other social services excluding social security"
df$desc[df$code4digit == "7513"] <- "Regulation of and contribution to more efficient operation of business"
df$desc[df$code4digit == "2696"] <- "Cut stones"
df$desc[df$code4digit == "5211"] <- "Retail sale in non-specialized stores with food, beverages or tobacco predominating"
df$desc[df$code4digit == "6220"] <- "Non scheduled air transport"
df$desc[df$code4digit == "6711"] <- "Administration of financial market"
df$desc[df$code4digit == "2021"] <- "Manufacture of veneer sheets, plywoods lamin board and other panels and boards product"
write.csv(df, "data/nsic/codes.csv", row.names = FALSE)
# verifying results
library(dplyr)
df %>%
group_by(categorycode) %>%
count()
categorycode category code3digit code4digit desc
A Agriculture and forestry 01 0111 Growing of cereals and other crops n.e.c.
A Agriculture and forestry 01 0112 Growing of vegetables, horticultural specialties and nursery product
A Agriculture and forestry 01 0113 Growing of fruits, nuts, beverage and spice crops
A Agriculture and forestry 01 0121 Farming of cattles and dairy farming_
A Agriculture and forestry 01 0122 Other animal farming ; production of animal products n.e.c
A Agriculture and forestry 01 0130 Growing of crops combined with farming of animals (mixed farming)
A Agriculture and forestry 01 0140 Agricultural, animal husbandry and breeding service activities (except veterinary activities
A Agriculture and forestry 02 0200 Forestry, logging and related service
B Fishing 05 0500 Fishing, operating of fish hatchery and fish farms service activity
C Mining and quarrying 10 1010 Mining and agglomeration of hard coal
C Mining and quarrying 10 1020 Mining and agglomeration of lignite
C Mining and quarrying 10 1030 Extraction and agglomeration of peat
C Mining and quarrying 11 1110 Extraction of crude petroleum and natural gas
C Mining and quarrying 11 1120 Service activities incidental to oil and gas extraction excluding
C Mining and quarrying 12 1200 Mining of Uranium and thorium ore
C Mining and quarrying 13 1310 Mining of iron ore
C Mining and quarrying 13 1320 Mining of non-ferrous metal ores, except iron, uranium and thorium ore
C Mining and quarrying 14 1410 Quarrying of stone , sand and clay
C Mining and quarrying 14 1421 Mining of chemical and fertilizer materials_
C Mining and quarrying 14 1422 Extraction of salt
C Mining and quarrying 14 1429 Mining and quarrying n.e.c.
D Manufacturing 15 1511 Production, processing and preservating of meat and meat products
D Manufacturing 15 1512 Processing and preserving of fish and fish products
D Manufacturing 15 1513 Processing and preserving of fruit and vegetable
D Manufacturing 15 1514 Manufacture of vegetable and animal oil and fats products
D Manufacturing 15 1520 Manufacture of dairy products _
D Manufacturing 15 1531 Manufacture of grain mill products
D Manufacturing 15 1532 Manufacturing of starch and starch products
D Manufacturing 15 1533 Manufacturing of prepared animal feeds
D Manufacturing 15 1541 Manufacturer of bakery produce
D Manufacturing 15 1542 Manufacturer of sugar
D Manufacturing 15 1543 Manufacture of cocoa, chocolate and suger confectionary
D Manufacturing 15 1544 Manufacture of macaroni, noodle and similar farinaceous
D Manufacturing 15 1549 Manufacture of yeast and other food products n.e.c.
D Manufacturing 15 1551 Distilling, rectifying and blending of sprits, ethyl alcohol production from fermented metrials
D Manufacturing 15 1552 Manufacture of wine from grapes
D Manufacturing 15 1553 Manufacture of malt liquors and malt
D Manufacturing 15 1554 Manufacture of soft drinks and prouduction of mineral water
D Manufacturing 16 1600 Manufacture of tobacco products
D Manufacturing 17 1711 Preparations and spinning of textile fiber, weaving of textile
D Manufacturing 17 1712 Finishing of textiles
D Manufacturing 17 1721 Manufacture of made- up textile articales except apparels
D Manufacturing 17 1722 Manufacture of carpet and rug
D Manufacturing 17 1723 Manufacture of rope, twine and nitting
D Manufacturing 17 1729 Manufacture of other textile
D Manufacturing 17 1730 Manufacture of knitted and crochted fabrics and articles
D Manufacturing 18 1810 Manufacture of wearing apparal except fur apparel
D Manufacturing 18 1820 Dressing and dyeing of fur ; manufacture of articles of fur
D Manufacturing 19 1911 Tanning and dressing of leather
D Manufacturing 19 1912 Manufacture of luggage, handbags, and the like, addlery and harness
D Manufacturing 19 1920 Manufacture of footwear
D Manufacturing 20 2010 Sawmilling and plaiting of wood
D Manufacturing 20 2021 Manufacture of veneer sheets, plywoods lamin board and other panels and boards product
D Manufacturing 20 2022 Manufacture of builders carpentry and joinary
D Manufacturing 20 2023 Manufacture of wooden container
D Manufacturing 20 2029 Manufacture of other products of wood cork, bamboo, straw and plaiting material
D Manufacturing 21 2101 Manufacture of pulp, paper and paper board
D Manufacturing 21 2102 Manufacture of corrugated paper and paperboard and containers of paper and paperboard
D Manufacturing 21 2109 Manufacture of other articles of paper and paperboard
D Manufacturing 22 2211 Publishing of books, brochures, musical books, and other publication
D Manufacturing 22 2212 Publishing of news paper, journal and periodicals
D Manufacturing 22 2213 Publishing of recorded media
D Manufacturing 22 2219 Other publication
D Manufacturing 22 2221 Printing
D Manufacturing 22 2222 Service activities related to printing
D Manufacturing 22 2230 Reproduction of recorded media
D Manufacturing 23 2320 Manufacture of refined petroleum product
D Manufacturing 24 2411 Manufacture of basic chemical, except fertilizer and nitrozen compond
D Manufacturing 24 2412 Manufacture of fertilizer and nitrozen compond
D Manufacturing 24 2413 Manufacture of plstics in primary and of synthetic rubbers
D Manufacturing 24 2421 Manufacuter of pesticides and other agro chemical products
D Manufacturing 24 2422 Manufacture of paints varnishes and similar coating printing ink and mastics product
D Manufacturing 24 2423 Manufacture of pharmaceuticals, medicinal chemicals and botanical products
D Manufacturing 24 2424 Manufacture of soap and detergents, cleaning and polishing preparation, perfumes and toilate preparation
D Manufacturing 24 2429 Manufacture of other chemical product n.e.c.
D Manufacturing 24 2430 Manufacture of man- made fibre
D Manufacturing 25 2511 Manufacture of rubber tyres and tubes retreading and rebuilding of rubber tyres
D Manufacturing 25 2519 Manufacture of other rubber products
D Manufacturing 25 2520 Manufacture of plastics product
D Manufacturing 26 2610 Manufacture of glass product
D Manufacturing 26 2691 Manufacture of non-structural not refractory ceramic ware
D Manufacturing 26 2692 Manufacture of refractory ceramic products
D Manufacturing 26 2693 Manufacture of structural non refractory clay and ceramic products
D Manufacturing 26 2694 Manufacture of cement, lime and plaster products
D Manufacturing 26 2695 Manufacture of articale of cement, concrete and plaster
D Manufacturing 26 2696 Cut stones
D Manufacturing 26 2699 Manufacture of non - metallic mineral products n.e.c.
D Manufacturing 27 2710 Manufacturer of basic iron and steel
D Manufacturing 27 2720 Manufacture of basic precious and non - ferrous metal product
D Manufacturing 27 2731 Casting of metal
D Manufacturing 27 2732 Casting of non ferrous metal
D Manufacturing 28 2811 Manufacture of structural metal
D Manufacturing 28 2812 Manufacture of tank, reservoirs and container of metal
D Manufacturing 28 2891 Foring, pressing, stamping and roll- forming of metal powder metallurgy
D Manufacturing 28 2892 Treatment and coataing of metals ; general mechanical engineering on a fee and contract basis
D Manufacturing 28 2893 Manufacture of cutlery, hand-tools and general hardware
D Manufacturing 28 2899 Manufacture of other fabricated metal products n.e.c.
D Manufacturing 29 2911 Manufacture of engines and turbines, except aircraft, vehicle and cycles engines
D Manufacturing 29 2912 Manufacture of pump compressors taps and valves
D Manufacturing 29 2913 Manufacture of bearings, gears, gearing and driving elements
D Manufacturing 29 2914 Manufacture of ovens, furnace and furnace burners
D Manufacturing 29 2915 Manufacture of lifting and handling equipment
D Manufacturing 29 2919 Manufacture of other general purpose machinaries
D Manufacturing 29 2921 Manufacture of agricultural and forestry machinary
D Manufacturing 29 2922 Manufacture of machine tools
D Manufacturing 29 2923 Manufacture of mechanery for metallurgy
D Manufacturing 29 2924 Manufacture of mechanery for mining, qurring and construction
D Manufacturing 29 2925 Manufacture of machinary for food, beverage and tobacco processing
D Manufacturing 29 2926 Manufacture of machinery for textile, apparel, and leather production
D Manufacturing 29 2927 Manufacture of weapons and ammunition
D Manufacturing 29 2929 Manufacture of other special purpose mechanery
D Manufacturing 29 2930 Manufacture of domestic appliances n.e.c.
D Manufacturing 30 3000 Manufacturer of office, accounting and computing machinery
D Manufacturing 31 3110 Manufacture of electric motors, generator and transformer
D Manufacturing 31 3120 Manufacture of electric city distribution and control apparataus
D Manufacturing 31 3130 Manufacture of insulated wire and cable
D Manufacturing 31 3140 Manufacture of accumulator, primary cells and primary battery
D Manufacturing 31 3150 Manufacture of electric lamps and lighting equipment
D Manufacturing 31 3190 Manufacture of other electrical equipment n.e.c.
D Manufacturing 32 3210 Manufacture of electronic valves and tubes and other electronic
D Manufacturing 32 3220 Manufacture of radio and television transmitter and apparatus for line telephony and line telegraphy
D Manufacturing 32 3230 Manufacture of radio and television receivers, sound or video recording or re producing apparatus and associated goods
D Manufacturing 33 3311 Manufacture of medical, surgical and orthopedic appliances
D Manufacturing 33 3312 Manufacture of instruments and appliance for measuring, checking, testing and other purpose except industrial process and control equipment
D Manufacturing 33 3313 Manufacture of industrial process and control equipment
D Manufacturing 33 3320 Manufacture of optical instrument and photography equipment
D Manufacturing 33 3330 Manufacture of watch and clocks
D Manufacturing 34 3420 Manufacture of bodies for motor vehicles ; manufacture of trailers and
D Manufacturing 35 3599 Manufacture of trasport equipment n.e.c.
D Manufacturing 36 3610 Manufacture of furniture
D Manufacturing 36 3691 Manufacture of jewellery and related articles
D Manufacturing 36 3692 Manufacture of musical instruments
D Manufacturing 36 3693 Manufacture of sports goods
D Manufacturing 36 3694 Manufacture of toys and games
D Manufacturing 36 3699 Other manufacture of n.e.c
D Manufacturing 37 3710 Recycling of metal wastes and scrap
D Manufacturing 37 3720 Recycling of non -metal waste and scrap
E Electricity, Gas and Water Supply 40 4010 Production, collection and distribution of electricity
E Electricity, Gas and Water Supply 40 4020 Manufacture of gas, distribution of gaseous fuels through mains
E Electricity, Gas and Water Supply 41 4100 Collection purification and distribution of water
F Construction 45 4510 Site preparation
F Construction 45 4520 Building of complete construction or parts thereof civil engineering
F Construction 45 4530 Building installation
F Construction 45 4540 Building completion
F Construction 45 4550 Renting of construction or demolition equipment with operator
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 50 5010 Sale of motor vehicles
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 50 5020 Maintenance and repair of motor vehicles
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 50 5030 Sale of motor vehicles parts and accessories
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 50 5040 Sale, maintenance and repair of motor cycles and related parts and
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 50 5050 Retail sale of automotive fuel
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 51 5110 Wholesale on a fee or contract basis
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 51 5121 Whole sale of agricultural raw materials and live animals
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 51 5122 Wholesale of food, beverage and tobacco
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 51 5131 Wholesale of textiles, clothing and footwear
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 51 5139 Wholesale of other household goods
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 51 5141 Wholesale of solid, liquid and gaseous fuels and related products
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 51 5142 Wholesale of metals and metal ores
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 51 5143 Wholesale of construction materials hardware, plumbing and heating
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 51 5149 Wholesale of other intermediate products waste and scrap
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 51 5150 Whole sale of machinery equipment and supplies
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 51 5190 Other Wholesale
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 52 5211 Retail sale in non-specialized stores with food, beverages or tobacco predominating
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 52 5219 Other retail sale in non specialized stores
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 52 5220 Retail sale of food, beverages and tobacco in specialized stores
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 52 5231 Retail sale of pharmaceutical and medical goods, cosmetic and toilet articles
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 52 5232 Retail sale of textiles, clothing, footwear and leather goods
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 52 5233 Retail sale of household appliances, articles and equipment
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 52 5234 Retail sale of hardware, paint and glass
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 52 5239 Other retail sale in specialized stores
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 52 5240 Retail sale of second hand goods in store
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 52 5252 Other sale via stalls and market
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 52 5259 Other non-store retail sale
G Wholesale and retail trade repair of motor vehicles, motorcycles and personal 52 5260 Repair of personal and household goods
H Hotels and restaurants 55 5510 Hotels, camping sites and other provision of short stay accommodation
H Hotels and restaurants 55 5520 Restaurants, bars and canteens
I Transport, storage and communications 60 6010 Transport via railways
I Transport, storage and communications 60 6021 Other scheduled passenger land transport
I Transport, storage and communications 60 6022 Other non- scheduled passenger land transport
I Transport, storage and communications 60 6023 Freight transport by road
I Transport, storage and communications 61 6120 Inland water transport
I Transport, storage and communications 62 6210 Scheduled air transport
I Transport, storage and communications 62 6220 Non scheduled air transport
I Transport, storage and communications 63 6301 Cargo handling
I Transport, storage and communications 63 6302 Storage and ware house
I Transport, storage and communications 63 6303 Other supporting transport activities
I Transport, storage and communications 63 6304 Activities of travel agencies and tour operators, tourist assistance activities
I Transport, storage and communications 63 6309 Activities of other transport agencies
I Transport, storage and communications 64 6411 National post activities
I Transport, storage and communications 64 6412 Courier activities other than national post activities
I Transport, storage and communications 64 6420 Telecommunication
J Financial intermediation 65 6511 Central banking
J Financial intermediation 65 6519 Other monetary Interamediation
J Financial intermediation 65 6591 Financial leasing
J Financial intermediation 65 6592 Other credit granting
J Financial intermediation 66 6601 Life insurance
J Financial intermediation 66 6602 Pension funding
J Financial intermediation 66 6603 Non -life insurance
J Financial intermediation 67 6711 Administration of financial market
J Financial intermediation 67 6712 Security dealing activities
J Financial intermediation 67 6719 Activities auxiliary to financial intermediation n.e.c.
J Financial intermediation 67 6720 Activities auxiliary to insurance , pension and rescue funding
K Real estate, Renting and Business activities 70 7010 Real estate activities with own or leased property
K Real estate, Renting and Business activities 70 7020 Real estate activities on a fee or contract basis
K Real estate, Renting and Business activities 71 7111 Renting of land transport equipment
K Real estate, Renting and Business activities 71 7112 Renting of water transport equipment
K Real estate, Renting and Business activities 71 7113 Renting of air transport equipment
K Real estate, Renting and Business activities 71 7121 Renting of agricultural machinery and equipments
K Real estate, Renting and Business activities 71 7122 Renting of construction and civil engineering machinery and
K Real estate, Renting and Business activities 71 7123 Renting of office machinery and equipment
K Real estate, Renting and Business activities 71 7129 Renting of other machinery and equipment n.e.c.
K Real estate, Renting and Business activities 71 7130 Renting of personal and households n. e. c.
K Real estate, Renting and Business activities 72 7210 Hardware consultancy
K Real estate, Renting and Business activities 72 7220 Software consultancy and supply
K Real estate, Renting and Business activities 72 7230 Data Processing
K Real estate, Renting and Business activities 72 7240 Data Base activ ities
K Real estate, Renting and Business activities 72 7250 Maintenance and repair of office accounting and computing machinery
K Real estate, Renting and Business activities 72 7290 Other computer related activities
K Real estate, Renting and Business activities 73 7310 Research and experimental development on natural sciences and engineering
K Real estate, Renting and Business activities 73 7320 Research and experimental development on social sciences and
K Real estate, Renting and Business activities 74 7411 Legal activities
K Real estate, Renting and Business activities 74 7412 Accounting, book-keeping and auditing activities, tax consultancy
K Real estate, Renting and Business activities 74 7413 Market research and public opinion polling
K Real estate, Renting and Business activities 74 7414 Business and management consultancy activities
K Real estate, Renting and Business activities 74 7421 Architectural and engineering activities and related technical consultancy
K Real estate, Renting and Business activities 74 7422 Technical testing and analysis
K Real estate, Renting and Business activities 74 7430 Advertising
K Real estate, Renting and Business activities 74 7491 Labor recruitment and provision of personnel
K Real estate, Renting and Business activities 74 7492 Investigation and security activities
K Real estate, Renting and Business activities 74 7493 Building cleaning activities
K Real estate, Renting and Business activities 74 7494 Photographic activities
K Real estate, Renting and Business activities 74 7495 Packaging activities
K Real estate, Renting and Business activities 74 7499 Other business activities n.e.c
L Public administration and defense compulsory social security 75 7511 General (overall
L Public administration and defense compulsory social security 75 7512 Regulation of the activities of agencies that provide health care, education cultural services and other social services and other social services excluding social security
L Public administration and defense compulsory social security 75 7513 Regulation of and contribution to more efficient operation of business
L Public administration and defense compulsory social security 75 7514 Ancillary service activities for the government as a whole
L Public administration and defense compulsory social security 75 7521 Foreign affairs
L Public administration and defense compulsory social security 75 7522 Defence activities
L Public administration and defense compulsory social security 75 7523 Public order and safety activities
L Public administration and defense compulsory social security 75 7530 Compulsory Social security activities
M Education 80 8010 Primary Education
M Education 80 8021 General Lower Secondary and Secondary Education
M Education 80 8022 Technical and vocational secondary education
M Education 80 8030 Higher Education
M Education 80 8090 Adult and other education
N Health and social work 85 8511 Hospital activities
N Health and social work 85 8512 Medical and dental practice
N Health and social work 85 8519 Other human health activities
N Health and social work 85 8520 Veterinary activities
N Health and social work 85 8531 Social work with accommodation
N Health and social work 85 8532 Social work without accommodation
O Other community, social and personal services activities 90 9000 Sewage and refuse disposal sanitation and similar activities
O Other community, social and personal services activities 91 9111 Activities of business and employers organization
O Other community, social and personal services activities 91 9112 Activities of professional organizations
O Other community, social and personal services activities 91 9120 Activities of trade unions
O Other community, social and personal services activities 91 9191 Activities of religious organization
O Other community, social and personal services activities 91 9192 Activities of political organizations
O Other community, social and personal services activities 91 9199 Activities of other membership organizations n.e.c.
O Other community, social and personal services activities 92 9211 Motion picture and video production and distribution
O Other community, social and personal services activities 92 9212 Motion Picture Projection
O Other community, social and personal services activities 92 9213 Radio and Television activities
O Other community, social and personal services activities 92 9214 Dramatic arts, music and other arts activities
O Other community, social and personal services activities 92 9219 Other entertainment activities n.e.c.
O Other community, social and personal services activities 92 9220 News agency activities
O Other community, social and personal services activities 92 9231 Library and archives activities
O Other community, social and personal services activities 92 9232 Museums activities and preservation of historical sites and buildings
O Other community, social and personal services activities 92 9233 Botanical and zoological gardens and nature reserves activities
O Other community, social and personal services activities 92 9241 Sporting activities
O Other community, social and personal services activities 92 9249 Other recreational activities
O Other community, social and personal services activities 93 9301 Washing and cleaning of textile and fur products
O Other community, social and personal services activities 93 9302 Hairdressing and other beauty treatment
O Other community, social and personal services activities 93 9303 Funeral and related activities
O Other community, social and personal services activities 93 9309 Other services activities n.e.c
P Private households with employed persons 95 9500 Private households with employed persons
Q Extra-territorial organizations 99 9900 Extra-territorial organizations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment