evs2000hunEuropeanValuesSurvey2000Hungary DescriptionAsampleofEuropeanValuesSurvey2000datasetHungaryFormatAdataframewith1000observationsand34variablesDetailsThisisonlyasampledatasetforpackage ID: 162710
Download Pdf The PPT/PDF document "2evs.2000.hunIndex6" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
2evs.2000.hunIndex6 evs.2000.hunEuropeanValuesSurvey(2000)-Hungary DescriptionAsampleofEuropeanValuesSurvey(2000)dataset-HungaryFormatAdataframewith1000observationsand34variables.DetailsThisisonlyasampledatasetforpackageggptandevs.2000.hundoesnotcontainallvariablesfromtheoriginaldatasetavailabletodownloadfromtheEVSmainsite.Thedataismadeofquitealotofvariables,seebelow.Theeldworkwastakenin1999inHungary.ThecasesrepresentstheHungarianpopulation(n=1.000)andaweightvariableisalsogiven.Theincludedvariableswerechoosentobeabletotesttheggpotpackage'sfunctions,andmainlyincludes'multipleresponse'andsome'matrix/arraytype'questions.Theeseareanswerestothefollowingquestions:howimportantinyourlife:work(Q1A)howimportantinyourlife:family(Q1B)howimportantinyourlife:friendsandacquaintances(Q1C)howimportantinyourlife:leisuretime(Q1D)howimportantinyourlife:politics(Q1E)howimportantinyourlife:religion(Q1F)howoftendiscusspoliticswithfriends(Q2)takingallthingstogetherhowhappyareyou(Q4)religiousserviceimportant:birth(Q27A)religiousserviceimportant:marriage(Q27B)religiousserviceimportant:death(Q27C)areyouareligiousperson(Q28)doyoubelievein:God(Q30A)doyoubelievein:lifeafterdeath(Q30B)doyoubelievein:hell(Q30C)doyoubelievein:heaven(Q30D)doyoubelievein:sin(Q30E)doyoubelievein:telepathy(Q30F)doyoubelievein:reincarnation(Q31) 4savesultra.fastboolean:ifTRUE,ultrafast(...)processingisdonewithoutanychecktoparam-etersorleexistence/permissions.Besureifusingthissettingasnodebuggingisdone!OnlyrecommendedforserversdealingwithlotofRobjects'savesandloadsinamonitoredenvironment.Also,forperformancegain,itisadvisednottoconvertthelisttodataframe(to.data.frame=FALSE).DetailsThepurposeofthisfunctionistobeableonlyafewvariablesofadata.framereallyfast.Itisdonebyreadingandwritingdatasinbinaryformatwithoutanytransformations,andcombiningthespeedofonlyreadingtheneededpartofanarchive.SomeminorexperimentsshowsahugeperformancegainagainstusingSQLite/MySQLbackendsorloadingwholebinarydata,butbeconsciousalwayschoosingtheaprropriatemethodtowriteandreaddata.Theauthorofthispackagewouldliketoemphasize:thispackagecouldbeusefulonlyinfewcases!ValueLoadeddata.frameSeeAlsosavestosaveRobjectstoRDatasbinaryformatExamples##Notrun:#Loadingthe'v1'and'v5'variablesofthedemodataset.data(evs.2000.hun)saves(evs.2000.hun)evs.filtered.listloads("evs.2000.hun.RDatas",c('v1','v5'))evs.filtered.dfloads("evs.2000.hun.RDatas",c('v1','v5'),to.data.frame=TRUE)##End(Notrun) savesSavethevariablesofadata.frameindistinctbinaryles Descriptionsavesdoeswhatthenamesuggests:itsavesdataframe(s)orlist(s)todiskinaspecial,binaryformat.Thisbinaryformatconsistsofdistinctbinarylesofallseparatevariablesofadataframe/listmergedintoanuncompressedtararchive.Thisisdoneviaaloop,whichsaveseachvariable/columntoananexternalrepresentationoftheRobjectsviasaveinatemporarydirectory.Theese'RData'lesarearchivedtoan'RDatas'tararchive,uncompressedforbetterspeed. IndexTopicdataevs.2000.hun,2evs.2000.hun,2loads,3,3save,3saves,3,4,46