Skip to content

crawled data of pemilu 2014 result on legislative (DPR) election.

Notifications You must be signed in to change notification settings

seuriously/dpr_2014

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dpr_2014

Crawled data of 2014 Legislative Election's result.

all_dpr_2014.csv is the crawling result.

kpu_script.R is the main code to run.

install both phantomjs and casperjs before running kpu_script.R

casper_kpu.js is the js script that will open and load the page.

kpu_dpr_readAll.R combine the all result into 1 dataframe.

Hitting the url directly will resulted in blank page since the web is using javascript to populate the data.

Since I have little to no knowledge in js, all looping and data extraction was done using rvest.

About

crawled data of pemilu 2014 result on legislative (DPR) election.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published