search for: afghanistan

Displaying 20 results from an estimated 47 matches for "afghanistan".

2010 Dec 02
6
Filter data
Hello, I understand that question is probably stupid, but ... I have data (polity IV index) "country","year","democ","autoc","polity","polity2" "1","Afghanistan ",1800,1,7,-6,-6 "2","Afghanistan ",1801,1,7,-6,-6 "3","Afghanistan ",1802,1,7,-6,-6 I need to create new data sets which includes only cases after year 1995. I've tried this command: poli2<-poli[poli$year >...
2020 Oct 20
0
write.csv covert Åland to <c5>land
Hi there, Why the same string is displayed in different form? > abc[,1] [1] "?land" "Afghanistan" > abc name 1 <c5>land 2 Afghanistan And more... > dput(abc, "aa.txt") > dget("aa.txt") name 1 <c5>land 2 Afghanistan > dget("aa.txt")[,1] [1] "<c5>land" "Afghanistan" Best, Jins...
2011 Jun 16
1
Merging rows in a dataframe
...missing values. Basically I would like to go from the top example to the bottom example and be able to scale it up to cover many more countries and years. Thanks in advance for any help you can offer. country programme FY1985 FY1986 Afghanistan Child Survival and Health 10,000,000 15,000,000 Afghanistan Department of Defense Security Assistance 15,000,000 15,000,000 Afghanistan Narcotics Control NA 5,000,000 Afghanistan Peac...
2019 Feb 19
2
Cambiar el formato de datos
..., Carlos Ortega www.qualityexcellence.es El mar., 19 feb. 2019 a las 13:47, Antonio Rodriguez Andres (< antoniorodriguezandres70 en gmail.com>) escribió: > Carlos, para poner despues del gather, las observaciones e Afganistan para > todos los años consecutivos, alguna pista? > > Afghanistan year60 8996351 > 2 Albania year60 1608800 > 3 Algeria year60 11124888 > 4 Andorra year60 13411 > 5 Angola year60 5643182 > 6 Afghanistan year61 9166764 > 7 Albania year61 1659800 > > On Tue, 19 Feb 2019 at 13:31, Antonio Rodriguez Andres &l...
2020 Oct 20
5
write.csv covert Åland to <c5>land
Hi there, I tried to export the names of country to a csv file with write.csv(). In the resulted file, ?land was coverted to <c5>land. Is there any way could prevent this happening? Thanks! > abc [1] "?land" > write.table(abc, file = "") "x" "1" "<c5>land" Best, Jinsong
2020 Oct 20
1
write.csv covert Åland to <c5>land
...ld suggest issuing the command sessionInfo() and seeing what your encoding is. On Tue, 20 Oct 2020 at 08:22, Jinsong Zhao <jszhao at yeah.net> wrote: > Hi there, > > Why the same string is displayed in different form? > > > abc[,1] > [1] "?land" "Afghanistan" > > abc > name > 1 <c5>land > 2 Afghanistan > > And more... > > > dput(abc, "aa.txt") > > dget("aa.txt") > name > 1 <c5>land > 2 Afghanistan > > dget("aa.txt")[,1] > [...
2009 Oct 13
0
Obama: Afghanistan decision in 'coming weeks'
<HEAD> <META http-equiv=Content-Type content="text/html; charset=windows-1252"> <META content="MSHTML 6.00.6000.20861" name=GENERATOR></HEAD> <BODY> <P>Obama: Afghanistan decision in ''coming weeks'' </P> <P><A href="http://bit.ly/2dWFN5">http://bit.ly/2dWFN5</A> </P> <P><A href="http://bit.ly/2dWFN5">http://bit.ly/2dWFN5</A> </P> <P><A href="http://bit.ly/2dWFN5&...
2020 Oct 20
1
write.csv covert Åland to <c5>land
...ntly than the base functions, and might have proper support for out-of-code-page characters. Duncan Murdoch On 20/10/2020 8:20 a.m., Jinsong Zhao wrote: > Hi there, > > Why the same string is displayed in different form? > > > abc[,1] > [1] "?land" "Afghanistan" > > abc > name > 1 <c5>land > 2 Afghanistan > > And more... > > > dput(abc, "aa.txt") > > dget("aa.txt") > name > 1 <c5>land > 2 Afghanistan > > dget("aa.txt")[,1...
2004 Oct 06
3
read.delim problem with trailing spaces
...rying to read a comma delimited dataset that uses '.' for NA. I found that if the last field on a line was a missing '.' it was not read as NA, but just a '.', and the life variable was made a factor. The data looks like this, income,imr,region,oilexprt,imr80,gnp80,life Afghanistan,75,400.0,4,0,185.0,.,37.5 Algeria,400,86.3,2,1,20.5,1920,50.7 Argentina,1191,59.6,1,0,40.8,2390,67.1 Australia,3426,26.7,4,0,12.5,9820,71.0 Austria,3350,23.7,3,0,14.8,10230,70.4 Bangladesh,100,124.3,4,0,139.0,120,. Belgium,3346,17.0,3,0,11.2,12180,70.6 Benin,81,109.6,2,0,109.6,300,. Bolivia,200,60....
2018 Jan 19
1
Web scraping different levels of a website
Hey Ilio, I revisited the previous code i posted to you and fixed some things. This should let you collect as many studies as you like, controlled by the num_studies arg. If you try the below url in your browser you can see that it returns a "simpler" version of the link you posted. To get to this you need to hit F12 to open Developer Tools --> go to Network tab and click on the
2019 Feb 19
2
Cambiar el formato de datos
> gather(pobla, key = year, value = totpop, year60:year63) Country year totpop 1 Afghanistan year60 8996351 2 Albania year60 1608800 3 Algeria year60 11124888 4 Andorra year60 13411 Gracias Carlos Antonio On Tue, 19 Feb 2019 at 12:54, Carlos Ortega <cof en qualityexcellence.es> wrote: > Sí, tienes varias formas. > > Mira la función "gather()&quot...
2001 Sep 14
5
Our Sympathies
The following is a message to be sent to the President of the United States of America. Although we may not be able to do a great deal from where we are, but for the people of America just knowing we care and feel their sadness will help. Please put your name on the following list and send it to all you know and who care. If you are the 100th name and every 100th there on could you please also
2014 Feb 04
0
Statistician at UNODC Vienna (Fwd: Statistiker für consultancy gesucht)
...ry much, Irmgard Specific tasks to be performed by the consultant: Under the overall guidance of the Chief of the Statistics and Surveys Section (SASS) and direct supervision of the Officer assigned by the Chief, the consultant will: 1. Draw spatial samples for the satellite image survey in Afghanistan according to the instructions provided by SASS based on existing R scripts; 2. Improve the technical implementation and documentation in R of the existing spatial models and sampling methods used in SASS illicit crop surveys with applications in Afghanistan; 3. Carry out research and assist in th...
2009 Jan 07
2
Function to recognise convert dates between gregorian and other calendars (e.g. Persian)?
...hat someone with both C and R knowledge might be able to develop a function to do this for R, perhaps in consultation with Homam Hosseini if converting his code to R or using his approach would be a helpful starting point. Any takers? With best wishes, Amy -- Amy Mikhail Program Manager, ACTc Afghanistan Malaria Project London School of Hygiene & Tropical Medicine HPRO, Charahi-e-Shahid, Shar-e-Naw, Kabul, Afghanistan Email (Afg): amy.mikhail@googlemail.com Email (UK): Amy.Mikhail@lshtm.ac.uk Tel (Afg): +93 (0)706 126627 Tel (UK): +44 (0)781 4176107 [[alternative HTML version deleted]]
2008 Sep 21
1
diff() for panel data
Hello, everyone! I'd like to find out how I can do first log differences in a panel? (The Penn World Table data that's available in the PWT package) The regular diff() function ignores the country/index/"panel unit", with depressing results. A second request, how can I best "filter" the data (e.g. generate a data frame with the data for a single country or a single
2012 Nov 18
2
Question about making histogram and x must be numeric
...o give an example, the first 2 lines of the MDGdatasetAdapted dataset look like this: Country_Code Country_Name Year GNI.per.capita..Atlas.method..current.US.. Telephone.lines..per.100.people. Internet.users..per.100.people. 1 AFG Afghanistan 2010 410 0.1 3.7 What am I doing wrong for getting the message: Error in hist.default(MDGdatasetAdapted$Telephone.Lines, ylab = "Frequency", : 'x' must be numeric ?? Please help...
2013 May 11
1
(no subject)
Hello, I am attempting to use the "classInt" package in conjunction with "rworldmap" package in R to construct a chloropleth. I want to use the fixedBreaks argument to specify given breaks. My data look like this: > head(Maji) Country waterused CC 1 Afghanistan 36 AFG 2 Albania 4 ALB 3 Algeria 52 DZA 4 Angola 0 AGO 5 Antigua 10 ATG 6 Argentina 4 ARG and when I attempt, > classInt <- classIntervals(ww[["waterused...
2009 Nov 01
4
convert list to Dataframe
...ted Kingdom;Greater London;Westminster;;51.5001524;-0.1262362 12355;10:47:53;20;10;2009;Singsabit;RT @Drudge_Report PAPER: Excuses wearing thin Obama, media pals... http://tinyurl.com/yfw6cd9;So. California;USA;CA;;;36.778261;-119.4179324 12407;10:47:59;20;10;2009;obamavideonews;Obama News Obama Afghanistan troop decision timing (AFP) : AFP - Pres.. http://bit.ly/3KPUr8 #obama #video;USA;USA;;;;37.09024;-95.712891 ... .. ..- attr(*, "Author")= chr(0) .. ..- attr(*, "DateTimeStamp")= POSIXlt[1:9], format: "2009-10-31 04:46:56" .. ..- attr(*, "Description")...
2010 Oct 06
2
Converting scraped data
Dear Colleagues, I used this code to scrape data from the URL conatined within. This code should be reproducible. require("XML") library(XML) theurl <- "http://www.queensu.ca/cora/_trends/mip_2006.htm" tables <- readHTMLTable(theurl) n.rows <- unlist(lapply(tables, function(t) dim(t)[1])) class(tables) test<-data.frame(tables, stringsAsFactors=FALSE)
2002 Jan 13
0
vorbis-dev´Ô ¾È³çÇϼ¼¿ä? *^^*((¿µ¾î & ÀϾî mailing service È«º¸))*^^*
...Àǹ̸¦ ´õ¿í °­Á¶ÇØ ÁÖ°í ÀÖ¾î¿ä. ¡Þ without a trace ¾Æ¹«·± ÈçÀû, ÀÚÃëµµ ¾øÀÌ ¢¹That dog has gone away without a trace. (±× °³´Â ¾Æ¹«·± ÈçÀûµµ ¾øÀÌ »ç¶óÁ® ¹ö·È´Ù.) ¢Ã Surrender? ¢Ñ [World news] ¿ø¹®º¸±â TOM : Good evening. In Afghanistan tonight, the leader of the Taliban apparently is trying to talk his way out of a very tight spot, and President Bush is not happy about the possibility that he may succeed. All day, there have been reports that Mullah Mohammed Omar is making a deal with local warlords near the southern city of K...